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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2C2C2C;
    line-height: 1.6;
    background: #FAFAF8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.container .logo img {
  max-height: 60px; /* Adjust this value as needed */
  width: auto;
}

.scrolled .logo img {
  filter: brightness(0) invert(0); /* black */
  
}

.logo {
    font-size: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: #C9A96E;
}

header.scrolled .logo {
    color: #C9A96E;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    transition: opacity 0.3s ease;
}

header.scrolled .desktop-nav a {
    color: #2C2C2C;
}

.desktop-nav a:hover {
    opacity: 0.7;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

header.scrolled .mobile-menu-btn span {
    background: #2C2C2C;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1638369022547-1c763b1b9b3b?crop=entropy&cs=srgb&fm=jpg&ixid=M3w3NTY2Njl8MHwxfHNlYXJjaHwxfHxsdXh1cnklMjBtb2Rlcm4lMjBpbnRlcmlvcnxlbnwwfHx8fDE3NjE1NjM1NzN8MA&ixlib=rb-4.1.0&q=85');
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), transparent);
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.circle-1 {
    top: 80px;
    right: 80px;
    width: 128px;
    height: 128px;
    animation: pulse 3s ease-in-out infinite;
}

.circle-2 {
    bottom: 128px;
    left: 128px;
    width: 96px;
    height: 96px;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #FFFFFF;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(48px, 8vw, 84px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: #E5E5E5;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    background: #C9A96E;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    background: #B8935A;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 96px 0;
    background: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 192px;
    height: 192px;
    background: #F5F3EF;
    border-radius: 8px;
    z-index: -1;
}

.about-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
}

.divider {
    width: 80px;
    height: 4px;
    background: #C9A96E;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

/* Services Section */
.services {
    padding: 96px 0;
    background: #F5F3EF;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
}

.section-header .divider {
    margin: 0 auto 24px;
}

.section-header p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F3EF;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(12deg);
}

.service-icon svg {
    color: #C9A96E;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Team Section */
.team {
    padding: 96px 0;
    background: #FFFFFF;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.team-card {
    background: #FAFAF8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 377px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: #C9A96E;
    font-weight: 500;
}

/* Projects Section */
.projects {
    padding: 96px 0;
    background: #F5F3EF;
}

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

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 384px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 8px;
    transform: translateY(16px);
    transition: transform 0.5s ease;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-overlay p {
    font-size: 14px;
    color: #E5E5E5;
}

/* Contact Section */
.contact {
    padding: 96px 0;
    background: #FFFFFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: #F5F3EF;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #C9A96E;
}

.contact-form textarea {
    resize: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F3EF;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover .contact-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon svg {
    color: #C9A96E;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: #666;
}

.social-links {
    padding-top: 32px;
}

.social-links h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F3EF;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.social-icon svg {
    color: #C9A96E;
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    background: #2C2C2C;
    color: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    font-size: 28px;
    color: #C9A96E;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #AAA;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #AAA;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.newsletter-form input {
    padding: 12px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #C9A96E;
}

.newsletter-form button {
    padding: 12px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: #AAA;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C9A96E;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.footer-social svg {
    color: #FFFFFF;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    opacity: 0.7;
}

.lightbox-content {
    max-width: 1200px;
    width: 100%;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 24px;
}

.lightbox-info {
    text-align: center;
    color: #FFFFFF;
}

.lightbox-info h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.lightbox-info p {
    font-size: 16px;
    color: #CCC;
    margin-bottom: 8px;
}

/* Toast */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    background: #4CAF50;
    color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: #f44336;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.float {
    animation: float 6s ease-in-out infinite;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }

.scroll-animate,
.scroll-animate-scale {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-scale {
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .team-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
}