/* Global Styles - MR LAINE GROUP */
/* Palette: Blanc (#ffffff), Noir (#000000), Doré (#c28d2d) */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for consistency */
:root {
    /* Colors */
    --primary-white: #ffffff;
    --primary-black: #000000;
    --primary-gold: #c28d2d;
    --light-gold: #d4a574;
    --light-gray: #f8f8f8;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --border-gray: #f0f0f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --gold-shadow: rgba(194, 141, 45, 0.3);
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max-width: 1400px;
    --section-padding: 6rem 0;
    --card-padding: 3rem;
    --border-radius: 20px;
    --border-radius-large: 25px;
    --border-radius-small: 10px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background: var(--primary-white);
    color: var(--primary-black);
    overflow-x: hidden;
    padding-top: var(--nav-height, 80px);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--light-gold);
}

/* Buttons */
.cta-button, .btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.cta-button.primary, .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    color: var(--primary-white);
    box-shadow: 0 8px 25px var(--gold-shadow);
}

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

.cta-button:hover, .btn:hover {
    transform: translateY(-5px);
}

.cta-button.primary:hover, .btn-primary:hover {
    box-shadow: 0 20px 40px rgba(194, 141, 45, 0.5);
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
}

.cta-button.secondary:hover, .btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-white);
    box-shadow: 0 15px 35px var(--gold-shadow);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
    border-radius: 2px;
}

/* Cards */
.card {
    background: var(--primary-white);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    transition: var(--transition-medium);
    border: 1px solid var(--border-gray);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--primary-gold);
}

/* Service Cards */
.service-card {
    background: var(--primary-white);
    padding: var(--card-padding);
    border-radius: var(--border-radius-large);
    transition: var(--transition-medium);
    border: 1px solid var(--border-gray);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px var(--shadow-medium);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    font-size: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--gold-shadow);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(194, 141, 45, 0.4);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary-black);
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: var(--medium-gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.service-features li:hover {
    color: var(--primary-black);
    transform: translateX(5px);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(194, 141, 45, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.service-features li:hover::before {
    background: rgba(194, 141, 45, 0.2);
    transform: scale(1.1);
}

/* Grids */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

/* Hero Sections */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
    border-radius: 2px;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 1.4rem;
    color: var(--dark-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: var(--light-gray);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-small);
    padding: 1rem;
    color: var(--primary-black);
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: var(--primary-white);
    box-shadow: 0 0 20px rgba(194, 141, 45, 0.2);
    transform: translateY(-2px);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    color: var(--primary-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-primary);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(194, 141, 45, 0.4);
    background: linear-gradient(135deg, var(--light-gold), var(--primary-gold));
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section:nth-child(even) {
    background: var(--light-gray);
}

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

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p, 
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary-gold);
}

.bg-gold {
    background: var(--primary-gold);
}

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

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
.p-4 { padding: 4rem; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
        --card-padding: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title, .page-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-subtitle, .page-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 3rem 0;
        --card-padding: 1.5rem;
    }
    
    .hero-content, .page-content {
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .cta-button, .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .hero-section, .section {
        break-inside: avoid;
    }
    
    .cta-button, .btn {
        border: 2px solid var(--primary-black);
        background: transparent;
        color: var(--primary-black);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-gold: #b8860b;
        --light-gold: #daa520;
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.4);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body.dark-mode {
        background: var(--primary-black);
        color: var(--primary-white);
    }
    
    body.dark-mode .card,
    body.dark-mode .service-card {
        background: #1a1a1a;
        border-color: #333;
    }
    
    body.dark-mode .form-group input,
    body.dark-mode .form-group textarea {
        background: #2a2a2a;
        border-color: #444;
        color: var(--primary-white);
    }
}
