/* Elite Remont - styles.css */
/* Global CSS Variables */
:root {
    /* Primary Colors - Complementary Color Scheme */
    --primary-color: #3a5a78;
    --primary-light: #4f6f8d;
    --primary-dark: #294456;
    --secondary-color: #c27c3a;
    --secondary-light: #e09350;
    --secondary-dark: #a26431;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --mid-gray: #e9ecef;
    --dark-gray: #343a40;
    --black: #212529;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    --glass-blur: blur(8px);
    
    /* Text Variables */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Work Sans', sans-serif;
    --heading-weight: 600;
    --body-weight: 400;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 2rem;
    --card-padding: 2rem;
    
    /* Animation */
    --transition-speed: 0.3s;
    --bounce-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
html, body {
    font-family: var(--body-font);
    font-weight: var(--body-weight);
    color: var(--dark-gray);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    transition: color var(--transition-speed) var(--bounce-function);
}

a:hover {
    color: var(--secondary-dark);
    text-decoration: none;
}

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

.section {
    padding: 5rem 1.5rem;
    position: relative;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    background-color: transparent;
    padding: 1rem 2rem;
}

.navbar.is-fixed-top.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition-speed) var(--bounce-function);
}

.navbar.scrolled .navbar-item {
    color: var(--primary-dark);
}

.navbar-item:hover {
    color: var(--secondary-light);
}

.navbar-burger {
    color: var(--white);
}

.navbar.scrolled .navbar-burger {
    color: var(--primary-dark);
}

/* Glassmorphism */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 10px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.3s var(--bounce-function), box-shadow 0.3s ease;
}

.glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.5);
}

.glassmorphism-light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 10px;
    border: var(--glass-border);
    padding: 1.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Buttons */
.button {
    font-family: var(--heading-font);
    font-weight: 500;
    transition: all 0.3s var(--bounce-function);
}

.button.is-primary {
    background-color: var(--primary-color);
    border-color: transparent;
}

.button.is-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button.is-light.is-outlined {
    border-color: var(--white);
    color: var(--white);
}

.button.is-light.is-outlined:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.animated-button {
    transition: transform 0.3s var(--bounce-function), box-shadow 0.3s ease, background-color 0.3s ease;
}

.animated-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.animated-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: var(--white);
}

.hero .title, 
.hero .subtitle {
    color: var(--white);
}

.hero-body {
    z-index: 1;
}

.scroll-down-arrow {
    display: inline-block;
    animation: bounce 2s infinite;
}

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

/* About Us Section */
.stats-container {
    margin-top: 3rem;
}

.stat-card {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s var(--bounce-function);
}

.image-container:hover {
    transform: scale(1.02) translateY(-10px);
}

/* Services Section */
.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--bounce-function);
    margin-bottom: 2rem;
}

.card-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.card-content .button {
    align-self: flex-start;
    margin-top: auto;
}

/* Process Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-marker {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    top: 30px;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -12px;
}

.timeline-content {
    position: relative;
    border-radius: 10px;
}

/* Sustainability Section */
.eco-benefits {
    margin-top: 2rem;
}

.eco-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s var(--bounce-function);
}

.eco-card:hover {
    transform: translateY(-5px);
}

/* Workshops Section */
.workshop-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workshop-image {
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.workshop-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contact Section */
.contact-info {
    height: 100%;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 5rem 1.5rem 2rem;
}

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

.footer a {
    color: var(--mid-gray);
}

.footer a:hover {
    color: var(--secondary-light);
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

/* Social Media Icons */
.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    margin-right: 1rem;
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s var(--bounce-function);
    display: inline-block;
}

.social-links a:hover {
    color: var(--secondary-light);
    transform: translateY(-3px);
}

/* Parallax Effect */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-marker,
    .timeline-item:nth-child(even) .timeline-marker {
        left: 18px;
    }
}

@media screen and (max-width: 768px) {
    .navbar-menu {
        background-color: var(--white);
    }
    
    .navbar-menu .navbar-item {
        color: var(--dark-gray);
    }
    
    .card {
        margin-bottom: 2rem;
    }
    
    .stat-card, .eco-card {
        margin-bottom: 1.5rem;
    }
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-gray);
}

.success-content {
    text-align: center;
    padding: 3rem;
    max-width: 800px;
}

/* Privacy and Terms Page */
.privacy-page, .terms-page {
    padding-top: 100px;
}

/* Read More Links */
.read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding-right: 1.5rem;
    transition: all 0.3s var(--bounce-function);
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s var(--bounce-function);
}

.read-more:hover {
    color: var(--secondary-dark);
    padding-right: 2rem;
}

.read-more:hover::after {
    transform: translate(5px, -50%);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s var(--bounce-function) forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 1s var(--bounce-function) 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s var(--bounce-function) 0.4s forwards;
    opacity: 0;
}