/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.8;
    color: #2c1810;
    overflow-x: hidden;
    background: #fefefe;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
    font-weight: 300;
    font-style: italic;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 24, 16, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: #f5f5dc;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nav-menu a:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -8px;
    left: 50%;
    background-color: #d4af37;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 0; /* Will be set dynamically by JavaScript */
    margin-top: 0; /* Ensure no additional margin */
    background: linear-gradient(135deg, #d2b48c 0%, #e6d3b3 50%, #f5e6d3 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="waves" x="0" y="0" width="300" height="300" patternUnits="userSpaceOnUse"><path d="M0 150 Q75 100 150 150 T300 150 V300 H0 Z" fill="rgba(139,69,19,0.03)"/><path d="M0 200 Q75 150 150 200 T300 200 V300 H0 Z" fill="rgba(139,69,19,0.02)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23waves)"/></svg>');
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2c1810;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 30px;
    margin-top: 20px; /* Additional safety margin */
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease-out;
    color: #2c1810;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 2;
    opacity: 0.8;
    animation: fadeInUp 1.2s ease-out 0.4s both;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #5d4037;
}

.hero-odia-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c1810;
    font-weight: 600;
    animation: fadeInUp 1.2s ease-out 0.5s both;
    text-align: center;
    font-family: 'Poppins', sans-serif; /* Ensure consistent font */
    margin-top: 0; /* Override h2 default margin */
}

.hero-odia-text {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #5d4037;
    animation: fadeInUp 1.2s ease-out 0.6s both;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.cta-button {
    background: transparent;
    color: #2c1810;
    border: 2px solid #d4af37;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: fadeInUp 1.2s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #d4af37;
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: #2c1810;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.section-header h2 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-style: italic;
}

.section-header p {
    color: #a0522d;
    font-size: 1.3rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fefefe 0%, #f5f5dc 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.05) 0%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h3 {
    color: #8b4513;
    margin-bottom: 2rem;
    font-style: italic;
}

.about-text p {
    color: #2c1810;
    line-height: 2;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid #d4af37;
    z-index: -1;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1976d2;
    font-weight: 500;
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(135deg, #d2b48c 0%, #e6d3b3 50%, #f5e6d3 100%);
    color: #2c1810;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(139,69,19,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(139,69,19,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(139,69,19,0.1)"/></svg>');
    opacity: 0.2;
}

.testimonial-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-content blockquote {
    font-size: 2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 300;
    color: #2c1810;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.testimonial-content blockquote::before,
.testimonial-content blockquote::after {
    content: '"';
    font-size: 4rem;
    color: #8b4513;
    position: absolute;
    top: -30px;
    left: -40px;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.testimonial-content blockquote::after {
    left: auto;
    right: -40px;
    top: auto;
    bottom: -50px;
}

.testimonial-content cite {
    font-size: 1.3rem;
    color: #8b4513;
    font-style: normal;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fefefe 0%, #f5f5dc 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.05) 0%, transparent 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h3 {
    color: #8b4513;
    margin-bottom: 2rem;
    font-style: italic;
}

.contact-info p {
    color: #2c1810;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    line-height: 2;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    color: #8b4513;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-style: italic;
}

.contact-item p {
    color: #2c1810;
    margin: 0;
    font-size: 1.1rem;
}

.contact-form {
    background: #fefefe;
    padding: 3rem;
    border: 2px solid #d4af37;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: -1;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #deb887;
    background: #fefefe;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: #f5f5dc;
    transform: translateY(-2px);
}

.submit-button {
    background: transparent;
    color: #8b4513;
    border: 2px solid #d4af37;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #d4af37;
    transition: left 0.4s ease;
    z-index: -1;
}

.submit-button:hover::before {
    left: 0;
}

.submit-button:hover {
    color: #2c1810;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #f5f5dc;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(212,175,55,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(212,175,55,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(212,175,55,0.1)"/></svg>');
    opacity: 0.2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo h3 {
    color: #d4af37;
    margin-bottom: 0.8rem;
    font-style: italic;
    font-weight: 300;
}

.footer-logo p {
    color: #f5f5dc;
    margin: 0;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: #f5f5dc;
    text-decoration: none;
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.footer-links a:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #deb887;
    margin: 0;
    font-style: italic;
}

.designer-credit {
    margin-top: 1rem !important;
    font-size: 0.9rem;
    opacity: 0.8;
}

.designer-credit a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-credit a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-content blockquote {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 120px; /* Increased to match hero padding */
} 