/* --- CSS Reset & Variables --- */
:root {
    --emerald-dark: #0f3d3e;
    --emerald-main: #105c5e;
    --emerald-light: #2c7a7b;
    --cream-bg: #f8f6f2;
    --cream-dark: #e8e6e1;
    --text-dark: #1a1a1a;
    --text-light: #f8f6f2;
    --text-muted: #666666;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise texture overlay for visual depth */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--emerald-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--emerald-main);
    color: var(--text-light);
    border: 1px solid var(--emerald-main);
}

.btn-primary:hover {
    background-color: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 92, 94, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--emerald-dark);
    border: 1px solid var(--emerald-dark);
}

.btn-outline:hover {
    background-color: var(--emerald-dark);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--cream-bg);
    color: var(--emerald-dark);
    border: 1px solid var(--cream-bg);
}

.btn-light:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--emerald-dark);
    text-decoration: none;
    font-weight: 600;
}

.logo span {
    font-weight: 300;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--emerald-main);
    transition: var(--transition);
}

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

.nav-cta {
    background-color: var(--emerald-main);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--emerald-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--emerald-dark);
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f6f2 0%, #e8e6e1 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--emerald-main);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--emerald-main) 0%, var(--emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 600px;
}

.image-frame {
    position: absolute;
    overflow: hidden;
    border-radius: 200px 200px 20px 20px;
    box-shadow: var(--shadow-soft);
}

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

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

.frame-1 {
    width: 380px;
    height: 500px;
    right: 0;
    top: 50px;
    z-index: 1;
}

.frame-2 {
    width: 260px;
    height: 340px;
    left: 0;
    bottom: 40px;
    z-index: 2;
    border-radius: 20px;
    border: 8px solid var(--cream-bg);
}

.floating-card {
    position: absolute;
    bottom: 180px;
    right: 40px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    box-shadow: var(--shadow-soft);
}

.fc-icon {
    font-size: 1.5rem;
    color: var(--emerald-main);
}

.floating-card strong {
    display: block;
    color: var(--emerald-dark);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.floating-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* --- About --- */
.about-section {
    padding: 8rem 2rem;
    background-color: var(--cream-bg);
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.accent-box {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: var(--emerald-main);
    color: var(--text-light);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
}

.accent-box span:first-child {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1;
}

.accent-box span:last-child {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--emerald-dark);
}

.feature-list svg {
    color: var(--emerald-main);
}

/* --- Services --- */
.services-section {
    padding: 6rem 2rem;
    background-color: white;
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

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

.service-card {
    background: var(--cream-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-soft);
    border-color: var(--cream-dark);
}

.sc-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-main);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--emerald-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Gallery --- */
.gallery-section {
    padding: 6rem 2rem;
    background: var(--cream-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.g-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.g-item:hover img {
    transform: scale(1.1);
}

.g-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 61, 62, 0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.g-item:hover .g-overlay {
    transform: translateY(0);
}

.g-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.g-item.tall {
    grid-row: span 2;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 8rem 2rem;
    background: var(--emerald-dark);
    text-align: center;
    color: var(--text-light);
}

.cta-banner h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Contact --- */
.contact-section {
    padding: 8rem 2rem;
    background: white;
}

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

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ii-icon {
    width: 50px;
    height: 50px;
    background: var(--cream-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-main);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--emerald-dark);
    margin-bottom: 0.25rem;
}

.info-item a, .info-item span {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--emerald-main);
}

.contact-form-wrapper {
    background: var(--cream-bg);
    padding: 3rem;
    border-radius: 24px;
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--emerald-dark);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--emerald-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 12px;
    background: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-main);
    box-shadow: 0 0 0 3px rgba(16, 92, 94, 0.1);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    color: var(--emerald-main);
}

/* --- Footer --- */
footer {
    background: var(--emerald-dark);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    display: block;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        height: 500px;
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .accent-box {
        right: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .g-item.large,
    .g-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--cream-bg);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .frame-1 {
        width: 280px;
        height: 380px;
    }
    
    .frame-2 {
        width: 200px;
        height: 260px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
