:root {
    --primary-font: 'Playfair Display', serif;
    --secondary-font: 'Lato', sans-serif;
    --text-color: #f0f0f0;
    --accent-color: #c874ff;
    --swiper-theme-color: var(--accent-color);
    --swiper-navigation-color: var(--accent-color);
}

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

body {
    font-family: var(--secondary-font);
    color: var(--text-color);
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    text-align: center;
    padding: 5rem 2rem 3rem;
    position: relative;
}

header h1 {
    font-family: var(--primary-font);
    font-size: clamp(3rem, 10vw, 5rem);
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 15px rgba(200, 116, 255, 0.5);
}

header .tagline {
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 300;
    color: #e0d8ff;
    margin-top: 0.5rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#hero.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    #hero {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        gap: 0;
    }
    #hero img {
        border-radius: 20px 0 0 20px;
    }
    .hero-text {
        padding: 2rem;
        text-align: left;
    }
}

#hero img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

.hero-text h2 {
    font-family: var(--primary-font);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background: #fff;
    color: #111;
    font-family: var(--secondary-font);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 116, 255, 0.3);
}

#styles-introduction {
    text-align: center;
    margin-bottom: 3rem;
}

#styles-introduction h2 {
    font-family: var(--primary-font);
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 0.5rem;
}

#styles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.style-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.4s ease-out, box-shadow 0.3s ease;
}

.style-card.reversed > img {
    order: 1;
}

.style-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.style-card.visible:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.style-card img {
    /* height: 600px; */
    width: 70%;
    margin: 0 auto;
    object-fit: cover;
    display: block;
}

.style-card-content {
    padding: 2.5rem;
}

.style-card-content h3 {
    font-family: var(--primary-font);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

#gallery {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

#gallery h2 {
    font-family: var(--primary-font);
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 2rem;
    text-align: center;
}

.swiper {
    width: 100%;
    height: 800px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 700px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.08);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 5rem;
    background: rgba(0, 0, 0, 0.2);
    font-weight: 300;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .style-card, .style-card.reversed {
        grid-template-columns: 1fr;
    }
    .style-card img {
        min-height: 300px;
    }
    .style-card.reversed > img {
        order: unset;
    }
}