/**
 * Luxury Theme Styles
 *
 * Enhanced styling for luxury theme presets
 * Applied when luxury preset is selected in customizer
 *
 * @package ChaletMontagne
 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Typography Enhancements
2.0 - Buttons & Forms Luxury
3.0 - Header Luxury
4.0 - Hero Luxury
5.0 - Cards & Content Luxury
6.0 - Footer Luxury
7.0 - Animations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Typography Enhancements
--------------------------------------------------------------*/
body {
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
2.0 - Buttons & Forms Luxury
--------------------------------------------------------------*/

.button::before,
button::before,
input[type="submit"]::before,
input[type="button"]::before,
input[type="reset"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: left 0.5s ease;
    z-index: -1;
}

.button:hover::before,
button:hover::before,
input[type="submit"]:hover::before,
input[type="button"]:hover::before,
input[type="reset"]:hover::before {
    left: 0;
}

/* Disable slide-in effect on FullCalendar buttons */
.fc .fc-button::before {
    content: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    padding: 1rem 1.25rem;
    border-radius: 0;
    border: 1px solid var(--color-input-border);
    font-weight: 300;
    transition: all 0.4s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

/*--------------------------------------------------------------
3.0 - Header Luxury
--------------------------------------------------------------*/
.site-header {
    background: var(--color-content-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-divider);
}

.luxury-logo,
.site-title a {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 10px 20px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    transform: scaleX(1);
}

.header-contact {
    font-size: 0.9rem;
}

.header-contact a {
    transition: color 0.4s ease;
}

.header-contact a:hover {
    color: var(--color-primary);
}

/*--------------------------------------------------------------
4.0 - Hero Luxury
--------------------------------------------------------------*/
.hero-section,
.luxury-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.luxury-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content,
.luxury-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.luxury-badge {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title,
.luxury-hero h1 {
    font-size: var(--hero-title-size, clamp(2.5rem, 6vw, 4.5rem));
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle,
.luxury-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/*--------------------------------------------------------------
5.0 - Cards & Content Luxury
--------------------------------------------------------------*/
.site-content {
    padding: 8rem 3rem;
}

.page-header {
    margin-bottom: 5rem;
    padding-bottom: 2rem;
    text-align: center;
}

.page-header::after {
    display: none;
}

.luxury-section {
    padding: 8rem 0;
}

.luxury-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.luxury-section-subtitle {
    color: var(--color-primary);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.luxury-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.luxury-section-description {
    font-size: 1.1rem;
    color: var(--color-charcoal);
    opacity: 0.8;
}

/* Luxury Cards */
.luxury-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.luxury-card {
    background: var(--color-card-bg);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px var(--shadow-color);
    position: relative;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.luxury-card:hover::before {
    transform: scaleX(1);
}

.luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.luxury-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--color-charcoal);
}

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

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

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

.luxury-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.luxury-card-text {
    color: var(--color-charcoal);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.luxury-card-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
}

.luxury-card-link:hover {
    gap: 1rem;
    color: var(--color-accent);
}

/* Entry Content */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content img {
    border-radius: 0;
}

/*--------------------------------------------------------------
6.0 - Footer Luxury
--------------------------------------------------------------*/
.site-footer {
    background: var(--color-dark);
    color: var(--color-text-light);
}

.footer-widget .widget-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
}

.site-info {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Social Links — SVG icons */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon-svg {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-link:hover .social-icon-svg {
    opacity: 1;
}

/* Footer text improvements */
.site-footer .footer-text {
    opacity: 0.7;
}

.site-footer .theme-credit a {
    opacity: 0.8;
}

/*--------------------------------------------------------------
7.0 - Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-content {
        padding: 4rem 1.5rem;
    }

    .luxury-section {
        padding: 4rem 0;
    }

    .luxury-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .button,
    button,
    input[type="submit"],
    input[type="button"] {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
}

/*--------------------------------------------------------------
8.0 - Templates Luxury (Home, About, Contact)
--------------------------------------------------------------*/

/* Home Luxury */
.luxury-hero-home {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

/* Ajouter de l'espace après le hero pour éviter que le contenu soit caché */
.luxury-home .luxury-hero-home + section {
    margin-top: 4rem;
}

.luxury-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark);
}

.luxury-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.luxury-hero-home .luxury-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.luxury-container-narrow {
    max-width: 900px;
}

/* Info Grid */
.luxury-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.luxury-info-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-card-bg);
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: all 0.4s ease;
}

.luxury-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.luxury-info-item-wide {
    grid-column: span 2;
}

.luxury-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.luxury-info-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.luxury-info-text {
    color: var(--color-charcoal);
    opacity: 0.8;
}

/* CTA Section */
.luxury-cta {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-charcoal) 100%);
    color: #fff;
    text-align: center;
}

.luxury-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.luxury-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.luxury-cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.luxury-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.luxury-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.luxury-btn-secondary:hover {
    background: #fff;
    color: var(--color-dark);
}

/* About Page */
.luxury-page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.luxury-page-hero-small {
    min-height: 40vh;
}

.luxury-page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--color-charcoal);
}

.luxury-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.luxury-breadcrumbs {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.luxury-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.luxury-page-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Story Section */
.luxury-story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.luxury-story-content {
    padding-right: 2rem;
}

.luxury-story-stats {
    background: var(--color-bg-luxury);
    padding: 3rem 2rem;
    border-left: 3px solid var(--color-primary);
}

.luxury-stat {
    margin-bottom: 2.5rem;
}

.luxury-stat:last-child {
    margin-bottom: 0;
}

.luxury-stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.luxury-stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-charcoal);
    opacity: 0.8;
}

/* Values Section */
.luxury-cards-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.luxury-card-centered {
    text-align: center;
}

.luxury-card-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* Contact Page */
.luxury-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.luxury-card-contact {
    background: var(--color-card-bg);
    padding: 2.5rem;
}

.luxury-contact-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.luxury-contact-item {
    text-align: center;
    padding: 2rem;
}

.luxury-contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.luxury-contact-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.luxury-contact-text {
    color: var(--color-charcoal);
    opacity: 0.8;
}

/* Form Styles */
.luxury-form {
    background: var(--color-card-bg);
    padding: 3rem;
    box-shadow: 0 2px 20px var(--shadow-color);
}

.luxury-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.luxury-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.luxury-form-group input,
.luxury-form-group textarea,
.luxury-form-group select {
    width: 100%;
}

.luxury-form-actions {
    text-align: center;
    margin-top: 2rem;
}

.luxury-form-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-charcoal);
    opacity: 0.7;
}

/* Social Links Large */
.luxury-social-links-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.luxury-social-links-large .social-link {
    padding: 1.5rem;
    background: var(--color-card-bg);
    border-radius: 50%;
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: all 0.4s ease;
}

.luxury-social-links-large .social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.luxury-social-links-large .social-icon {
    font-size: 2.5rem;
}

/* Section Alt Background */
.luxury-section-alt {
    background: var(--color-bg-luxury);
}

/* Responsive - Templates */
@media (max-width: 1024px) {
    .luxury-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .luxury-story-content {
        padding-right: 0;
    }

    .luxury-info-item-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .luxury-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .luxury-form {
        padding: 2rem 1.5rem;
    }

    .luxury-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .luxury-btn {
        width: 100%;
    }

    .luxury-social-links-large {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .luxury-page-hero {
        min-height: 40vh;
    }

    .luxury-stat-number {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .navigation,
    .social-links {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
}
