/* --- Global Styles & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #1a2a45; /* Dark Blue */
    --secondary-color: #cda45e; /* Gold Accent */
    --light-color: #ffffff;
    --dark-color: #333333;
    --bg-light-gray: #f8f9fa;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    color: var(--primary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }

p { margin-bottom: 1rem; }
a { color: var(--secondary-color); text-decoration: none; }

section {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #b8914e;
}

.intro-p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
header {
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(26, 42, 69, 0.7), rgba(26, 42, 69, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero-content h1 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* --- Intro & Why Choose Us --- */
.intro, .why-choose-us {
    text-align: center;
}
.why-choose-us ul {
    list-style: none;
    max-width: 600px;
    margin: 20px auto 0;
    text-align: left;
}
.why-choose-us li {
    padding: 8px 0;
    font-size: 1.1rem;
}

/* --- Services Overview --- */
.services-overview {
    background-color: var(--bg-light-gray);
}
.services-overview h2 { text-align: center; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background: var(--light-color);
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- CTA Section --- */
.cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}
.cta h2, .cta p {
    color: var(--light-color);
}

/* --- Footer --- */
footer {
    background: var(--dark-color);
    color: #ccc;
    padding: 40px 0 20px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-info h3 {
    color: var(--light-color);
    font-size: 1.2rem;
}
.footer-links h4 {
    color: var(--light-color);
    margin-bottom: 10px;
}
.footer-links ul { list-style: none; }
.footer-links a { color: #ccc; transition: color 0.3s; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- Inner Pages (About, Services, Contact) --- */
.page-header {
    background: var(--bg-light-gray);
    text-align: center;
    padding: 40px 0;
}
.page-header h1 {
    font-size: 2.8rem;
}
.about-image {
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    float: right;
    margin: 0 0 20px 30px;
}
.service-item {
    background: var(--bg-light-gray);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary-color);
}

/* --- Portfolio Page --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light-color);
    padding: 40px 20px 20px;
}
.portfolio-caption h3 {
    color: var(--light-color);
}

/* --- Contact Page --- */
.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.contact-info { flex: 1; min-width: 300px; }
.contact-form { flex: 2; min-width: 300px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* --- Responsive Design --- */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 80px; /* Header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        color: var(--light-color);
        font-size: 1.2rem;
    }

    .about-image {
        float: none;
        margin: 0 auto 30px;
        display: block;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
}
