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

:root {
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --green-600: #16a34a;
    --yellow-400: #facc15;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--stone-800);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--stone-600), var(--stone-800));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.logo-text {
    font-weight: 600;
    color: var(--stone-800);
    font-size: 1.1rem;
}

.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--stone-600);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--stone-900);
}

.btn-primary {
    background: var(--stone-800);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--stone-700);
}

.btn-secondary {
    background: white;
    color: var(--stone-800);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: var(--stone-100);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-desktop {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    color: var(--stone-600);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link-mobile:hover {
    color: var(--stone-900);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .btn-desktop {
        display: block;
    }
    
    .menu-toggle {
        display: none;
    }
}

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

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

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

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 1000px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--stone-200);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    padding: 8px;
}

.scroll-dot {
    width: 4px;
    height: 12px;
    background: white;
    border-radius: 2px;
    animation: bounce 2s infinite;
    margin: -32px auto 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-light {
    background: var(--stone-50);
}

.bg-white {
    background: white;
}

.bg-dark {
    background: var(--stone-800);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--stone-800);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--stone-600);
    max-width: 42rem;
    margin: 0 auto;
}

.text-white {
    color: white;
}

.text-light {
    color: var(--stone-300);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Design Section */
.design-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.design-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.image-card {
    position: relative;
}

.image-badge {
    position: absolute;
    top: -12px;
    left: -12px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10;
}

.badge-before {
    background: var(--stone-800);
}

.badge-after {
    background: var(--green-600);
}

.design-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.design-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--stone-800);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--stone-800);
}

.feature-text {
    color: var(--stone-600);
}

@media (min-width: 768px) {
    .design-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Materials Section */
.materials-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.material-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.material-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.material-image-wrapper {
    height: 16rem;
    overflow: hidden;
}

.material-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.material-card:hover .material-image {
    transform: scale(1.1);
}

.material-content {
    padding: 1.5rem;
}

.material-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--stone-800);
}

.material-description {
    color: var(--stone-600);
    margin-bottom: 1rem;
}

.material-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.material-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-600);
}

.material-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--stone-800);
    border-radius: 50%;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--stone-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--stone-800);
}

.benefit-text {
    color: var(--stone-600);
}

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

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

/* Soffit Section */
.soffit-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.soffit-image-wrapper {
    order: 2;
}

.soffit-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.soffit-content {
    order: 1;
}

.soffit-subtitle {
    font-size: 1.25rem;
    color: var(--stone-600);
    margin-bottom: 2rem;
}

.soffit-description {
    color: var(--stone-600);
    margin-bottom: 2rem;
}

.soffit-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.soffit-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    color: var(--green-600);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (min-width: 768px) {
    .soffit-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .soffit-image-wrapper {
        order: 1;
    }
    
    .soffit-content {
        order: 2;
    }
}

/* About Section */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image-wrapper {
    width: 100%;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro {
    font-size: 1.125rem;
    color: var(--stone-700);
}

.about-text {
    color: var(--stone-600);
}

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

.stat {
    text-align: center;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--stone-800);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--stone-800);
}

.stat-label {
    color: var(--stone-600);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Testimonials Section */
.testimonials-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--stone-700);
    border-radius: 12px;
    padding: 2rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star {
    color: var(--yellow-400);
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--stone-600);
}

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

.author-name {
    font-weight: 600;
    color: white;
}

.author-location {
    color: var(--stone-300);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    background: var(--stone-600);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-btn:hover {
    background: var(--stone-500);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--stone-500);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 32px;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 3rem;
    }
}

/* Footer */
.footer {
    background: var(--stone-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--stone-400);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--stone-400);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--stone-400);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--stone-800);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--stone-700);
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--stone-400);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
