/* ==========================================================================
   PACKSHOT PARIS - COMPLETE STYLESHEET
   ========================================================================== */

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

html {
    max-width: 100%;
    overflow-x: hidden;
}

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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #faf9f7;
    --accent-color: #ff6b6b;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-muted: #999999;
    --border-color: #e8e8e8;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b6b, #ffa726);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4, #45b7aa);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 0;
}

.nav-dropdown-link:hover {
    background: var(--secondary-color);
    color: var(--accent-color);
    transform: translateX(5px);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-phone-menu,
.mobile-phone-fixed {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-buttons .btn:first-child {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    body, html {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Règle img générale - sauf portfolio qui a ses propres règles */
    img:not(.portfolio-image img) {
        max-width: 100%;
        height: auto;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-buttons .btn:first-child {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mobile-phone-menu {
        display: block;
        margin-top: 40px;
    }
    
    .mobile-phone-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 30px;
        background: var(--accent-color);
        color: var(--white);
        text-decoration: none;
        border-radius: var(--border-radius);
        font-weight: 600;
        font-size: 18px;
    }
    
    .phone-icon {
        width: 20px;
        height: 20px;
        fill: #000000;
    }
    
    .mobile-phone-fixed {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 15px;
        z-index: 1001;
    }
    
    .mobile-phone-btn-fixed {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: var(--accent-color);
        color: var(--primary-color);
        text-decoration: none;
        border-radius: 50%;
        font-size: 18px;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        box-shadow: var(--shadow-heavy);
        animation: pulse 2s infinite;
    }

    /* Scroll to top button */
    .scroll-to-top {
        position: fixed;
        bottom: 90px;
        right: 15px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: var(--white);
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        text-decoration: none;
        border-radius: 50%;
        box-shadow: var(--shadow-medium);
        transition: var(--transition);
        box-sizing: border-box;
    }

    .scroll-to-top-btn:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: var(--shadow-heavy);
    }

    .scroll-to-top-btn:hover svg path {
        stroke: var(--white);
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 100px 0 60px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8f8f8 100%);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-accent {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-gallery {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 600px;
    margin-left: auto;
}

.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: var(--delay, 0s);
}

.product-card {
    aspect-ratio: 1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: var(--shadow-heavy);
}

.product-card:hover img {
    transform: scale(1.15);
}

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

/* Hero Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid {
        max-width: 500px;
        gap: 14px;
    }
}

/* Hero Mobile */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
        position: relative;
        overflow: hidden;
        background: var(--secondary-color);
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-container {
        max-width: 100%;
        margin: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        position: relative;
        z-index: 2;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-title-section {
        order: 1;
        padding: 0;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-text {
        max-width: none;
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        margin-bottom: 15px;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    
    .hero-subtitle {
        margin-bottom: 0;
    }
    
    .hero-gallery {
        order: 2;
        position: relative;
        height: 200px;
        width: 100%;
        overflow: hidden;
        z-index: 1;
        max-width: 100vw;
    }
    
    .gallery-grid {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 200%;
        height: 100%;
        animation: scrollBanner 20s linear infinite;
        align-items: stretch;
    }
    
    .gallery-item {
        flex: 0 0 auto;
        height: 100%;
        opacity: 1;
        animation: none;
    }
    
    .product-card {
        height: 100%;
        width: auto;
        aspect-ratio: 1;
        animation: none;
        border-radius: 8px;
    }
    
    .hero-text-section {
        order: 3;
        padding: 0 20px;
        text-align: center;
    }
    
    /* Intro Section Mobile */
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .intro-title {
        text-align: center;
        margin-bottom: 30px;
        font-size: 25px !important;
    }
    
    .intro-description {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .intro-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .intro-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
        padding: 12px 24px; /* Override btn-lg */
        font-size: 16px; /* Override btn-lg */
    }
    
    .hero-description {
        display: block;
        font-size: 15px;
        line-height: 1.6;
        color: var(--text-light);
        margin-bottom: 25px;
    }
    
    .hero-cta {
        justify-content: center;
        position: relative;
        z-index: 3;
    }
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideInSequence {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */

.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-title {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 600;
}

.intro-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 50px;
    color: var(--text-light);
}

.intro-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
    padding: 100px 0;
    background: var(--white);
}

.service-item {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-item.reverse .service-content {
    direction: rtl;
}

.service-item.reverse .service-text,
.service-item.reverse .service-image {
    direction: ltr;
}

.service-label {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.service-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.service-benefits li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 12px;
    margin-top: 2px;
}

.service-image {
    position: relative;
}

.service-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-image:hover .service-img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Services Mobile */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    
    .service-item {
        margin-bottom: 80px;
    }
    
    .service-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    /* Diviser service-text en deux parties */
    .service-text {
        display: contents; /* Permet aux enfants de participer au flex du parent */
    }
    
    /* Ordre : label/titre -> image -> description/reste */
    .service-label {
        order: 1;
    }
    
    .service-title {
        order: 2;
        margin-bottom: 0;
    }
    
    .service-image {
        order: 3;
    }
    
    .service-description {
        order: 4;
        margin-top: 0;
    }
    
    .service-benefits {
        order: 5;
    }
    
    .service-text .btn {
        order: 6;
    }
    
    .service-item.reverse .service-content {
        direction: ltr;
    }
    
    .service-benefits {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .service-img {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   E-COMMERCE SECTION
   ========================================================================== */

.ecommerce-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f0f0f0 100%);
}

.ecommerce-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.ecommerce-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.ecommerce-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.ecommerce-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ecommerce-item.reverse .ecommerce-content {
    direction: rtl;
}

.ecommerce-item.reverse .ecommerce-text,
.ecommerce-item.reverse .ecommerce-image {
    direction: ltr;
}

.ecommerce-title {
    font-size: clamp(24px, 3vw, 28px);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.ecommerce-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.ecommerce-image {
    position: relative;
}

/* E-commerce Mobile */
@media (max-width: 768px) {
    .ecommerce-section {
        padding: 60px 0;
    }
    
    .ecommerce-grid {
        gap: 60px;
    }
    
    .ecommerce-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    /* Même ordre que les services : titre -> image -> reste */
    .ecommerce-text {
        display: contents;
    }
    
    .service-label {
        order: 1;
    }
    
    .ecommerce-title {
        order: 2;
        margin-bottom: 0;
    }
    
    .ecommerce-image {
        order: 3;
    }
    
    .ecommerce-description {
        order: 4;
        margin-top: 0;
    }
    
    .service-benefits {
        order: 5;
    }
    
    .ecommerce-item.reverse .ecommerce-content {
        direction: ltr;
    }
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio {
    padding: 100px 0;
    background: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.portfolio-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Portfolio Mobile */
@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0;
        visibility: visible !important;
        opacity: 1 !important;
        background: var(--secondary-color) !important;
    }
    
    .portfolio .section-header {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .portfolio-grid {
        visibility: visible !important;
        opacity: 1 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        max-width: 350px !important;
        margin: 40px auto 0 !important;
    }
    
    .portfolio-item {
        background: transparent;
        min-height: auto;
    }
    
    .portfolio-image {
        width: 100%;
        height: 0;
        padding-bottom: 100%; /* Creates a square */
        position: relative;
        display: block;
        overflow: visible !important;
        border-radius: 12px;
        background: #f5f5f5;
    }
    
    /* Garder les animations pour les images seulement */
    .portfolio-item {
        transition: none !important;
        transform: none !important;
    }
    
    .portfolio-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
        display: block !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .portfolio-image:hover img {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 300px;
    padding-bottom: 30px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* FAQ Mobile */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 15px 0;
    }
    
    .faq-answer.active {
        padding-bottom: 15px;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 20px;
    margin-top: 5px;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent-color);
}

.contact-text small {
    opacity: 0.7;
    font-size: 14px;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
    pointer-events: none;
    background: transparent;
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #4caf50;
    background: var(--primary-color);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--primary-color);
    color: var(--white);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: rgba(67, 233, 123, 0.2);
    border: 1px solid #43e97b;
    color: #43e97b;
}

.form-status.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/* Contact Mobile */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo .logo-accent {
    color: var(--accent-color);
}

.footer-description {
    margin: 20px 0 30px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--accent-color);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer a {
    color: white !important;
    text-decoration: none;
    font-weight: normal !important;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color) !important;
}

.footer-links a:hover,
.footer-section ul li a:hover {
    padding-left: 5px;
}

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

/* Footer Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-contact,
    .footer-links {
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2001;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    z-index: 2002;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    z-index: 2002;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-color);
}

.modal-prev {
    left: -60px;
}

.modal-next {
    right: -60px;
}

.modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

/* Modal Mobile */
@media (max-width: 768px) {
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 25px;
    }
    
    .modal-nav {
        top: auto;
        bottom: 20px;
        transform: none;
        font-size: 20px;
        padding: 10px 15px;
    }
    
    .modal-prev {
        left: 20px;
    }
    
    .modal-next {
        right: 20px;
    }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

[data-scroll] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-scroll].reveal {
    opacity: 1;
}

[data-scroll="reveal-up"] {
    transform: translateY(50px);
}

[data-scroll="reveal-up"].reveal {
    transform: translateY(0);
}

[data-scroll="reveal-left"] {
    transform: translateX(-50px);
}

[data-scroll="reveal-left"].reveal {
    transform: translateX(0);
}

[data-scroll="reveal-right"] {
    transform: translateX(50px);
}

[data-scroll="reveal-right"].reveal {
    transform: translateX(0);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

/* Hide mobile phone on desktop */
@media (min-width: 1025px) {
    .mobile-phone-fixed {
        display: none !important;
    }
}

/* Screen reader only - invisible for users but visible for search engines and screen readers */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   SERVICE PAGES STYLES
   ========================================================================== */

.service-page-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-hero-content {
    max-width: 500px;
}

.service-hero-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.service-hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-hero-image {
    position: relative;
}

.service-hero-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.content-section {
    padding: 80px 0;
    background: var(--white);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.content-wrapper h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.content-wrapper p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-wrapper strong {
    color: var(--accent-color);
    font-weight: 600;
}

.content-wrapper a {
    color: var(--text-dark);
    text-decoration: underline;
    transition: var(--transition);
}

.content-wrapper a:hover {
    color: var(--accent-color);
}

.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

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

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Pages Mobile */
@media (max-width: 768px) {
    .service-page-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .service-hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .service-hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}