/* ============================================
   Hydro Garden Delight — Custom Styles
   ============================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

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

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

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

.text-teal {
    color: #0d9488;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 118, 110, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f766e;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.nav-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

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

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: #475569;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link:hover {
    color: #0d9488;
}

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

.nav-link--cta {
    color: #0d9488;
    font-weight: 500;
}

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

.nav-link--cta:hover {
    background: #f0fdfa;
    border-radius: 6px;
    padding-left: 8px;
    margin-left: -8px;
}

/* Mobile nav toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    color: #334155;
    transition: all 0.2s ease;
}

.nav-toggle:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.nav-toggle-icon {
    width: 18px;
    height: 18px;
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-inner {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.nav-overlay.active .nav-overlay-inner {
    transform: translateY(0);
}

.nav-overlay-link {
    font-size: 1rem;
    font-weight: 400;
    color: #334155;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-overlay-link:hover {
    background: #f0fdfa;
    color: #0d9488;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
}

.btn--primary {
    background: #0d9488;
    color: #ffffff;
}

.btn--primary:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn--ghost {
    background: transparent;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn--ghost:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.btn--light {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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

/* --- Hero --- */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero-left {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 20px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.12;
    color: #0f172a;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #0f766e;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Hero image */
.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 6/7.5;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1px solid #99f6e4;
    border-radius: 16px;
    z-index: -1;
}

.hero-floating-card {
    position: absolute;
    bottom: 32px;
    left: -16px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hero-floating-card svg {
    color: #0d9488;
    flex-shrink: 0;
}

.hero-floating-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.hero-floating-card-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
}

/* Decorative */
.hero-line {
    position: absolute;
    bottom: 80px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(to right, #0d9488, transparent);
    opacity: 0.15;
}

.hero-dot {
    position: absolute;
    top: 50%;
    right: 60px;
    width: 8px;
    height: 8px;
    background: #0d9488;
    border-radius: 50%;
    opacity: 0.2;
}

/* --- Section Base --- */
.section {
    padding: 96px 0;
}

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

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 16px;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

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

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about-image-col {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    aspect-ratio: 5/6;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.about-image-line {
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 60%;
    height: 100%;
    border: 1px solid #99f6e4;
    border-radius: 12px;
    z-index: -1;
}

.about-content-col {
    max-width: 480px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #64748b;
    margin: 0 0 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
}

.about-feature svg {
    color: #0d9488;
    flex-shrink: 0;
}

/* --- Services --- */
.services {
    background: #f8fafc;
}

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

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #99f6e4;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0fdfa;
    color: #0d9488;
    margin-bottom: 20px;
}

.service-card-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* --- Why Us --- */
.why-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .why-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.why-content {
    max-width: 480px;
}

.why-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #64748b;
    margin: 0 0 40px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-item-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0d9488;
    opacity: 0.4;
    line-height: 1;
    padding-top: 2px;
    flex-shrink: 0;
}

.why-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 6px;
}

.why-item-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

.why-image-col {
    position: relative;
}

.why-image {
    width: 100%;
    height: auto;
    aspect-ratio: 5/6;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* --- Gallery --- */
.gallery {
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 240px 280px;
    }
    
    .gallery-item--large {
        grid-column: span 2;
    }
    
    .gallery-item--tall {
        grid-row: span 2;
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.04);
}

/* --- CTA --- */
.cta {
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: #5eead4;
}

.cta-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 36px;
}

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

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

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact-info {
    max-width: 440px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

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

.contact-detail svg {
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.6;
}

.contact-link:hover {
    color: #0d9488;
}

/* Form */
.contact-form-col {
    position: relative;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: #0d9488;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    gap: 16px;
}

.form-success svg {
    color: #0d9488;
}

.form-success p {
    font-size: 1.05rem;
    color: #334155;
}

/* --- Footer --- */
.footer {
    background: #0f172a;
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5eead4;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-links a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #475569;
    margin: 0;
}

.footer-link {
    color: #64748b;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #5eead4;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
