@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-blue: #007FFF;
    --primary-blue-hover: #0066CC;
    --secondary-gold: #FFD700;
    --tertiary-green: #2E8B57;
    --white: #FFFFFF;
    --dark-grey: #1A1A1A;
    --light-grey: #F5F5F5;
    --medium-grey: #E0E0E0;
    --text-grey: #666666;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-serif: 'Lora', serif;
    
    --header-height: 70px;
    --transition-smooth: 0.3s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-primary);
    color: var(--dark-grey);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

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

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

.section {
    padding: 60px 0;
}

.bg-light { background-color: var(--light-grey); }
.bg-dark { background-color: var(--dark-grey); color: var(--white); }
.bg-primary { background-color: var(--primary-blue); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    transform: scale(1.02);
}

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

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

.btn:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--white);
    z-index: 1000;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header.scrolled {
    height: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-desktop {
    display: none;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-grey);
    position: relative;
    padding: 5px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all var(--transition-smooth);
    transform: translateX(-50%);
}

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

.nav-desktop a:hover {
    color: var(--primary-blue);
}

.header-cta {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-grey);
    transition: all var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 999;
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 15px 0;
    color: var(--dark-grey);
    border-bottom: 1px solid var(--medium-grey);
}

.mobile-menu a:hover {
    color: var(--primary-blue);
}

.mobile-menu .btn {
    margin-top: 30px;
    width: 100%;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

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

/* ========== HERO SECTIONS ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-grey);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-small {
    min-height: 60vh;
}

.hero-small .hero-content h1 {
    font-size: 2rem;
}

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

/* ========== VALUE PROPOSITION ========== */
.value-prop {
    background-color: var(--light-grey);
}

.value-grid {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--tertiary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

/* ========== FEATURED HOMES CAROUSEL ========== */
.featured-homes {
    overflow: hidden;
}

.carousel {
    position: relative;
    margin-top: 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    text-align: left;
}

.carousel-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

/* ========== PROCESS STEPS ========== */
.process-steps {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
}

.process-step h4 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* ========== SPLIT SECTIONS ========== */
.split-section {
    display: grid;
    gap: 40px;
}

.split-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.split-content h2 {
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.split-content ul {
    list-style: none;
    margin: 20px 0;
}

.split-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.split-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tertiary-green);
    font-weight: bold;
}

/* ========== TESTIMONIALS ========== */
.testimonial-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-gold);
}

/* ========== CARDS GRID ========== */
.cards-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
}

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

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
}

.card:hover .card-overlay {
    transform: translateY(0);
}

.card-body {
    padding: 20px;
}

.card-body h4 {
    margin-bottom: 8px;
    color: var(--dark-grey);
}

.card-body p {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========== GALLERY ========== */
.gallery-grid {
    display: grid;
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: blur(2px);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,127,255,0.3);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--medium-grey);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-smooth);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

/* ========== CONTACT DETAILS ========== */
.contact-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 5px;
}

.contact-card a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ========== FAQ ACCORDION ========== */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--medium-grey);
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-grey);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer-content {
    padding-bottom: 20px;
    color: var(--text-grey);
    line-height: 1.8;
}

/* ========== MAP ========== */
.map-section {
    margin-top: 40px;
}

.map-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* ========== TEAM ========== */
.team-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========== FILTERS ========== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--medium-grey);
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* ========== INVENTORY CARDS ========== */
.inventory-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all var(--transition-smooth);
}

.inventory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.inventory-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.inventory-details {
    padding: 20px;
}

.inventory-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.inventory-address {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.inventory-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-grey);
    font-size: 0.9rem;
}

.inventory-status {
    display: inline-block;
    padding: 5px 12px;
    background: var(--tertiary-green);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #999;
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: #999;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #999;
    margin: 0 10px;
}

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

/* Footer Accordion (Mobile) */
.footer-accordion {
    display: none;
}

.footer-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.footer-accordion-header::after {
    content: '+';
    font-size: 1.2rem;
    transition: transform var(--transition-smooth);
}

.footer-accordion.active .footer-accordion-header::after {
    transform: rotate(45deg);
}

.footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

/* ========== CTA SECTIONS ========== */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-header h2 {
    margin-bottom: 15px;
    color: var(--dark-grey);
}

.section-header p {
    color: var(--text-grey);
    margin-bottom: 0;
}

/* ========== AWARDS & CERTIFICATIONS ========== */
.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.certification-item {
    width: 150px;
    text-align: center;
    opacity: 0.7;
    transition: opacity var(--transition-smooth);
}

.certification-item:hover {
    opacity: 1;
}

.certification-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    margin-bottom: 10px;
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========== CONFETTI ========== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3000;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========== SUCCESS MESSAGE ========== */
.success-message {
    display: none;
    padding: 20px;
    background: var(--tertiary-green);
    color: var(--white);
    border-radius: 6px;
    text-align: center;
    margin-top: 20px;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* ========== MAIN CONTENT OFFSET ========== */
main {
    padding-top: var(--header-height);
}

/* ========== RESPONSIVE: TABLET (768px+) ========== */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .section { padding: 80px 0; }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .split-section {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .split-image img {
        height: 400px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .carousel-content h3 {
        font-size: 2.2rem;
    }
}

/* ========== RESPONSIVE: DESKTOP (1024px+) ========== */
@media (min-width: 1024px) {
    :root {
        --header-height: 80px;
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    
    .section { padding: 100px 0; }
    
    .nav-desktop {
        display: flex;
    }
    
    .header-cta {
        display: block;
    }
    
    .hamburger {
        display: none;
    }
    
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
    
    .footer-accordion {
        display: none !important;
    }
    
    .footer-section {
        display: block !important;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-small .hero-content h1 {
        font-size: 3rem;
    }
    
    .carousel-slide img {
        height: 600px;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item:nth-child(1) img {
        height: 520px;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========== MOBILE ONLY ========== */
@media (max-width: 767px) {
    :root {
        --header-height: 65px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section { padding: 50px 0; }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-grid {
        display: none;
    }
    
    .footer-accordion {
        display: block;
    }
    
    .footer-section {
        display: none;
    }
    
    .footer-accordion.active .footer-accordion-content {
        max-height: 500px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .carousel-slide img {
        height: 350px;
    }
    
    .carousel-content {
        padding: 20px;
    }
    
    .carousel-content h3 {
        font-size: 1.4rem;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header, .footer, .btn, .carousel-nav {
        display: none;
    }
    
    main {
        padding-top: 0;
    }
}
