/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Laniwell Brand Colors */
    --primary-color: #193F47;
    --secondary-color: #C39482;
    --primary-light: #2a5a66;
    --secondary-light: #d4a999;

    /* Inspired by template - earthy tones */
    --gold: #938446;
    --cream: #fcfcfc;
    --soft-pink: #faecec;
    --sage: #e9f8ec;
    --deep-brown: #453e21;
    --tan: #c2b57f;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #6b6b6b;
    --black: #0a0a0a;

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-padding: 80px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-full {
    width: 100%;
    padding: 0 var(--container-padding);
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 2rem 0;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    z-index: 1001;
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

.nav.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-cta {
    padding: 0.75rem 1.75rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(25, 63, 71, 0.2);
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
    transition: transform 0.3s ease-out;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    opacity: 0;
    animation: fadeInRight 1s ease forwards 0.6s;
}

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

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25, 63, 71, 0.1), rgba(195, 148, 130, 0.1));
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark-gray);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary-color);
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(25, 63, 71, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* ===================================
   Section Styles
   =================================== */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding) 0;
}

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

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

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: 20px;
    overflow: hidden;
}

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

.about-image-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 50%;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid var(--cream);
}

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

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.about-values {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin: 0;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25, 63, 71, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

.service-card-cta {
    padding: 0.875rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.service-card-cta:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.service-card-content {
    padding: 2rem;
}

.service-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.gallery-scroll {
    margin-top: 4rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
}

.gallery-card {
    flex: 0 0 auto;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: scale(1.02);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--primary-color);
    color: var(--white);
}

.contact .section-label {
    color: var(--secondary-light);
}

.contact .section-title {
    color: var(--white);
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

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

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

.contact-detail {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-detail p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-detail a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--white);
}

.contact-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Service Detail Pages
   =================================== */
.service-detail-hero {
    padding: 140px 0 60px;
    background: var(--light-gray);
}

.service-detail-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    transform: translateX(-5px);
}

.service-detail-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-detail-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.service-detail-content {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    aspect-ratio: 16/9;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.service-detail-text h2:first-child {
    margin-top: 0;
}

.service-detail-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.service-detail-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.service-benefits li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-info-box,
.service-cta-box,
.service-tips-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
}

.service-info-box h3,
.service-cta-box h3,
.service-tips-box h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    font-weight: 600;
    color: var(--black);
}

.info-item span {
    text-align: right;
    color: var(--dark-gray);
}

.service-cta-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-cta-box .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.service-cta-box .btn:last-child {
    margin-bottom: 0;
}

.service-tips-box ul {
    list-style: none;
}

.service-tips-box li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-gray);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-tips-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.related-services {
    padding: 80px 0;
    background: var(--light-gray);
}

.related-services .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 3rem 0;
    background: var(--black);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
        --container-padding: 40px;
    }

    .service-row {
        grid-template-columns: 60px 1fr 1fr 60px;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }

    .hero .container {
        gap: 4rem;
    }

    .stats-grid {
        gap: 2rem;
    }

    .about-grid,
    .contact-wrapper {
        gap: 4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-card {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 24px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

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

    .about-images {
        height: 500px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-card {
        width: 300px;
        height: 400px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-images {
        height: 400px;
    }

    .value-item {
        gap: 1rem;
    }

    .gallery-card {
        width: 280px;
        height: 350px;
    }
}
