/* ========================================
   HOUSE OF STYLE — Custom Styles
   Deep Navy + Warm Gold | Minimalist
======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 300;
    color: #1a1a2e;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* --- Typography --- */
.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: #0a1f3f;
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #c9a84c, transparent);
    margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 1px solid transparent;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    white-space: nowrap;
}

.btn-gold {
    background: #c9a84c;
    color: #0a1f3f;
    border-color: #c9a84c;
}

.btn-gold:hover {
    background: #b8943f;
    border-color: #b8943f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

.nav.scrolled {
    background: rgba(10, 31, 63, 0.97);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.2);
    padding: 14px 0;
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c9a84c;
    letter-spacing: 0.05em;
    border: 1px solid #c9a84c;
    padding: 4px 8px;
    line-height: 1;
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

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

.nav-cta {
    border: 1px solid rgba(201, 168, 76, 0.6);
    padding: 10px 24px;
    color: #c9a84c;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #c9a84c;
    color: #0a1f3f;
}

.nav-cta::after { display: none; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 1px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 31, 63, 0.82) 0%,
        rgba(10, 31, 63, 0.72) 50%,
        rgba(10, 31, 63, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-accent {
    font-style: italic;
    color: #c9a84c;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(201, 168, 76, 0.8), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: #ffffff;
}

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

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

.service-card {
    padding: 48px 36px;
    border: 1px solid rgba(10, 31, 63, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 31, 63, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: #c9a84c;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #0a1f3f;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: #f8f7f4;
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    overflow: hidden;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    overflow: hidden;
    border: 6px solid #f8f7f4;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    margin-top: 4px;
}

.about-content p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(10, 31, 63, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #0a1f3f;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(10, 31, 63, 0.15);
}

/* --- Gallery --- */
.gallery {
    padding: 120px 0;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 63, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item-overlay span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(201, 168, 76, 0.6);
    padding-bottom: 4px;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: #0a1f3f;
}

.testimonials .section-label { color: #c9a84c; }
.testimonials .section-title { color: #ffffff; }
.testimonials .section-line { background: linear-gradient(to right, #c9a84c, transparent); }

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
    text-align: center;
}

.testimonial-quote {
    color: #c9a84c;
    width: 40px;
    height: 40px;
    margin: 0 auto 28px;
    opacity: 0.7;
}

.testimonial-quote svg {
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.testimonial-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: transparent;
    color: #c9a84c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: #c9a84c;
}

.testimonial-btn svg {
    width: 16px;
    height: 16px;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: #c9a84c;
    border-color: #c9a84c;
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 63, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content .section-title { color: #ffffff; margin-bottom: 20px; }

.cta-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: #f8f7f4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: #c9a84c;
}

.contact-icon svg { width: 100%; height: 100%; }

.contact-item h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #0a1f3f;
    margin-bottom: 6px;
}

.contact-item p, .contact-item a {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

.contact-item a:hover { color: #c9a84c; }

.contact-map {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 63, 0.08);
}

/* Contact Form */
.contact-form-wrap {
    background: #ffffff;
    padding: 48px;
    border: 1px solid rgba(10, 31, 63, 0.08);
}

.contact-form h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #0a1f3f;
    margin-bottom: 8px;
}

.contact-form-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0a1f3f;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #1a1a2e;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(10, 31, 63, 0.15);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: #c9a84c;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #0a1f3f;
    font-size: 0.875rem;
    font-weight: 400;
}

.form-success svg {
    width: 20px;
    height: 20px;
    color: #c9a84c;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: #0a1f3f;
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c9a84c;
    letter-spacing: 0.05em;
    border: 1px solid #c9a84c;
    padding: 4px 8px;
    display: inline-block;
    width: fit-content;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.08em;
}

.footer-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links h4, .footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover { color: #c9a84c; }

.footer-contact p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
    .contact-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 31, 63, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        backdrop-filter: blur(20px);
    }

    .nav-links.open { transform: translateX(0); }

    .nav-link {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-cta {
        border-color: rgba(201, 168, 76, 0.6);
        text-align: center;
        width: 100%;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }

    .services-grid { grid-template-columns: 1fr; gap: 20px; }

    .service-card { padding: 36px 28px; }

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

    .about-images {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

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

    .contact-form-wrap { padding: 32px 24px; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-stats { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .services, .about, .gallery, .testimonials, .cta, .contact { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
