/* 
 * Parseille.com - Luxury Website Stylesheet
 * Colors: Beige and Gold accents
 */

/* Base Styles */
:root {
    --primary-color: #d4af37;
    --secondary-color: #f5f0e5;
    --secondary-color-light: #faf7f0;
    --secondary-color-dark: #e8dfc9;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --light-text: #f5f5f5;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.logo-animation {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    animation: loading 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes loading {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(245, 240, 229, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.dropdown-menu {
    border: none;
    border-radius: 0;
    background-color: rgba(245, 240, 229, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.dropdown-item {
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateX(5px);
}

.language-switch .nav-link {
    font-weight: 600;
    border: 1px solid var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
}

.language-switch .nav-link:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    position: relative;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--light-text);
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.mouse {
    border: 2px solid var(--light-text);
    border-radius: 20px;
    height: 40px;
    width: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    background-color: var(--light-text);
    border-radius: 50%;
    height: 6px;
    width: 6px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--light-text);
    border-right: 2px solid var(--light-text);
    transform: rotate(45deg);
    margin: 0 auto 3px;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 25px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Products Section */
.products-section {
    padding: 5rem 0 3rem;
    background: linear-gradient(to bottom, var(--secondary-color-light), var(--secondary-color));
}

.products-section.dark {
    background: linear-gradient(to bottom, var(--dark-color), #2a2a2a);
    color: var(--light-text);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
}

.section-header.text-center h2::after {
    left: 25%;
}

.section-header p {
    font-size: 1.1rem;
}

/* Product Detail Section */
.product-detail-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--secondary-color), var(--secondary-color-dark));
}

.product-detail-section.dark {
    background: linear-gradient(to bottom, #2a2a2a, var(--dark-color));
    color: var(--light-text);
}

.product-detail-image {
    position: relative;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    z-index: -1;
}

.product-detail-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-detail-image:hover img {
    transform: scale(1.05);
}

.product-detail-content {
    padding: 2rem;
}

.product-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.product-detail-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Product Image Carousel */
.product-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.product-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #c5a47e;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .product-carousel, .product-detail-image img, .carousel-slide img {
        height: 300px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
}

/* Unique Selling Point */
.unique-selling-point {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--secondary-color-dark), var(--secondary-color));
}

.usp-text {
    padding: 2rem;
}

.usp-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.usp-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.usp-image {
    position: relative;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    z-index: -1;
}

.usp-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.usp-image:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--secondary-color), var(--secondary-color-light));
}

.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.contact-form {
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background-color: transparent;
    border-radius: 0;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.form-group label {
    position: absolute;
    top: 0.75rem;
    left: 0;
    pointer-events: none;
    transition: var(--transition);
    color: #999;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    top: -0.75rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-message {
    margin-bottom: 1rem;
    min-height: 24px;
}

.success-message {
    color: #28a745;
    padding: 0.5rem;
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 3px solid #28a745;
}

.error-message {
    color: #dc3545;
    padding: 0.5rem;
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 3px solid #dc3545;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2, 
    .product-detail-content h2, 
    .usp-text h2, 
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: rgba(245, 240, 229, 0.95);
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        background-color: transparent;
    }
    
    .language-switch {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2, 
    .product-detail-content h2, 
    .usp-text h2, 
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .product-detail-section {
        padding: 3rem 0;
    }
    
    .product-detail-content,
    .usp-text,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-column {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2, 
    .product-detail-content h2, 
    .usp-text h2, 
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .footer-logo a {
        font-size: 1.5rem;
    }
}
