/* =============================================
   T&T Properties — Static Site
   ============================================= */

:root {
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark: #2a2a2a;
    --warm: #3d3529;
    --accent: #b8956a;
    --accent-light: #d4b48e;
    --cream: #f5f0ea;
    --cream-dark: #ebe4db;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-400: #999;
    --gray-600: #666;
    --text: #2c2c2c;
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --container: 1200px;
    --radius: 6px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); color: var(--white); }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--charcoal); }
h3 { font-size: 1.3rem; color: var(--charcoal); }
h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section { padding: 100px 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,149,106,0.3);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--gray-200);
}
.btn-outline-dark:hover {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
}

.btn-lg { padding: 18px 44px; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
}
.logo span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    opacity: 0.7;
}

.logo-footer {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Language Switch */
.lang-switch {
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: border-color var(--transition);
}
.lang-switch:hover { border-color: rgba(255,255,255,0.5); }

.lang-option {
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: color var(--transition);
}
.lang-option.active { color: var(--accent); }
.lang-option:hover { color: var(--white); }

.lang-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    user-select: none;
}

.nav-right-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.lang-switch-mobile { display: none; }

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

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.3) 40%,
        rgba(10, 10, 10, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
    max-width: 700px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 20px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-tags {
    display: flex;
    gap: 12px;
    margin: 28px 0;
    flex-wrap: wrap;
}
.hero-tags span {
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}

.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease infinite;
}
.hero-scroll svg {
    width: 24px; height: 24px;
    color: rgba(255,255,255,0.4);
}

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

/* About */
.about { background: var(--white); }

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

.about-images {
    position: relative;
}
.about-img-main {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 85%;
}
.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--gray-600); margin-bottom: 14px; }
.about-text p:last-child { margin-bottom: 0; }

.about-highlight {
    color: var(--charcoal) !important;
    font-weight: 500;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin-top: 20px !important;
    font-style: italic;
}

/* Approach */
.approach { background: var(--cream); }

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

.approach-card {
    padding: 32px 28px;
    background: var(--white);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.approach-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.approach-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}

.approach-card h3 { margin-bottom: 10px; }
.approach-card p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.65; }

/* Gallery */
.gallery { background: var(--white); padding-bottom: 60px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
}
.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.gallery-item { aspect-ratio: 4/3; }
.gallery-wide { aspect-ratio: 16/9; }
.gallery-tall { aspect-ratio: auto; }

.gallery-hidden {
    display: none;
}

.gallery-reveal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-reveal.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-count {
    font-weight: 400;
    opacity: 0.6;
    margin-left: 4px;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* CTA Section */
.cta-section {
    position: relative;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; }
.cta-img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
    position: absolute; inset: 0;
    background: rgba(10, 10, 10, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    margin: 0 auto;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* Contact */
.contact { background: var(--cream); }

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

.contact-info h2 { margin-bottom: 24px; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.contact-item svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}
.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    margin-bottom: 3px;
}
.contact-item a, .contact-item span {
    color: var(--gray-600);
    font-size: 0.93rem;
}
.contact-item a:hover { color: var(--accent); }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}
.social-links a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-600);
    transition: all var(--transition);
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(184,149,106,0.08);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: var(--font-body);
    font-size: 0.93rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184,149,106,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-msg { font-size: 0.9rem; min-height: 1.4em; margin-bottom: 10px; }
.form-msg-ok { color: #2e7d32; }
.form-msg-err { color: #c62828; }

/* Footer */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.65);
    padding-top: 56px;
}

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

.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; margin-top: 4px; }

.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.88rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }

.footer-contact p { font-size: 0.88rem; margin-bottom: 6px; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.approach-card:nth-child(2) { transition-delay: 0.08s; }
.approach-card:nth-child(3) { transition-delay: 0.16s; }
.approach-card:nth-child(4) { transition-delay: 0.24s; }

.gallery-item:nth-child(2) { transition-delay: 0.06s; }
.gallery-item:nth-child(3) { transition-delay: 0.12s; }
.gallery-item:nth-child(4) { transition-delay: 0.18s; }
.gallery-item:nth-child(5) { transition-delay: 0.24s; }
.gallery-item:nth-child(6) { transition-delay: 0.30s; }

/* Responsive */
@media (max-width: 1024px) {
    .approach-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-wide { grid-column: span 2; }
    .gallery-tall { grid-row: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 20px;
        transition: right var(--transition);
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; color: var(--white); }
    .nav-toggle { display: flex; }
    .nav-right-mobile { display: flex; }
    .lang-switch-mobile { display: flex; }
    .nav-links .lang-switch { display: none; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-img-accent {
        position: relative;
        bottom: auto; right: auto;
        width: 60%;
        margin-top: -60px;
        margin-left: auto;
    }

    .approach-grid { grid-template-columns: 1fr; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-wide { grid-column: span 2; }
    .gallery-tall { grid-row: span 1; aspect-ratio: 4/3; }

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

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

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .hero-tags span { font-size: 0.7rem; padding: 5px 12px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-wide { grid-column: span 1; }
    .approach-card { padding: 24px 20px; }
    .contact-form-wrap { padding: 24px; }
}
