/* ============================================
   C PETITES PHOTOS GENIE - STYLES
   ============================================ */

:root {
    --primary: #1a1a1a;
    --secondary: #2c2c2c;
    --accent: #7eb3c4;
    --accent-light: #b8dce8;
    --accent-dark: #5a8fa3;
    --bg: #e8f4f8;
    --bg-light: #f5fbfd;
    --white: #ffffff;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    box-shadow: 0 2px 20px var(--shadow);
    border-bottom: 3px solid var(--accent-light);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

nav .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav .logo-img {
    width: 60px;
    height: auto;
}

nav .logo-text {
    display: flex;
    flex-direction: column;
}

nav .logo-text .main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

nav .logo-text .subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul a:hover {
    color: var(--accent-dark);
}

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

nav ul a:hover::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(184, 220, 232, 0.3) 0%, rgba(126, 179, 196, 0.4) 100%);
    position: relative;
    text-align: center;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(184, 220, 232, 0.4), transparent 50%);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero .tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.compass-decoration {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 150px;
    height: 150px;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(126, 179, 196, 0.3);
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(126, 179, 196, 0.5);
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

#about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text);
}

.about-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px var(--shadow);
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.3;
}

.specialties {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.specialty-tag {
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

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

#portfolio {
    background: var(--bg-light);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--accent-dark);
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(126, 179, 196, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(126, 179, 196, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    color: var(--white);
}

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

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

#services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s;
    border: 3px solid var(--accent-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(126, 179, 196, 0.3);
    border-color: var(--accent);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent-dark);
}

.service-card p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.8rem;
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

/* ============================================
   BOOKING SECTION
   ============================================ */

#booking {
    background: var(--bg-light);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 3px solid var(--accent-light);
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent-light);
    border-radius: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--bg-light);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

button[type="submit"] {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(126, 179, 196, 0.4);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

#galeries {
    background: var(--white);
}

.gallery-login {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
    border: 3px solid var(--accent-light);
}

.gallery-login h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-dark);
}

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

#contact {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: var(--white);
    border-color: var(--white);
}

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

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 3rem 5%;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--accent-light);
    font-size: 1.8rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--white);
    transform: scale(1.2);
}

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

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

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: scale(1.2);
}

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

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    nav ul {
        display: none;
    }
    
    nav ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 30px var(--shadow);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .compass-decoration {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 4rem 5%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    nav .logo-img {
        width: 45px;
    }
    
    nav .logo-text .main-title {
        font-size: 1.2rem;
    }
    
    nav .logo-text .subtitle {
        font-size: 0.75rem;
    }
    
    .booking-container,
    .gallery-login {
        padding: 2rem;
    }
}
