:root {
    --card-border: rgba(255,255,255,0.03);
    --primary-black: #101010;
    --secondary-black: #000000;
    --accent-red: #9D0208;
    --text-white: #F5F5F5;
    --text-grey: #AAAAAA;
    --font-family: "Times New Roman", Times, serif;
    --contact-bg: #181a1d;
    --accent-gold: #d4b256;
    --contact-input-border: #555;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--primary-black);
    color: var(--text-white);
    font-family: var(--font-family);
    line-height: 1.6;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.navbar.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(157, 2, 8, 0.5);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: var(--accent-red);
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative; 

}
.logo-underline {
    position: absolute;
    bottom: -3px; 
    left: -10px;
    width: 105%;
    height: 25px;
    overflow: visible;
}

.logo-underline path {
    stroke: var(--accent-red);
    stroke-width: 1.5; 
    fill: none;
    stroke-linecap: round;
    
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
}

.logo-underline.is-drawn path {
    animation: draw-line 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0; 
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    position: relative;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-red);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.nav-link:hover {
    color: var(--accent-red);
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.language-switcher {
    display: flex;
    gap: 0.5rem;
}
.lang-btn {
    background: transparent;
    border: 1px solid var(--text-grey);
    color: var(--text-grey);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lang-btn:hover,
.lang-btn.active {
    color: var(--text-white);
    border-color: var(--accent-red);
    background-color: var(--accent-red);
}
.burger {
    display: none;
    z-index: 1001;
    cursor: pointer;
}
.mobile-socials {
    display: none;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px;
    transition: all 0.3s ease;
}
.toggle .line1 {
    background-color: var(--accent-red);
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    background-color: var(--accent-red);
    transform: rotate(45deg) translate(-5px, -6px);
}

/* === HERO SECTION === */
.hero {
    background-color: rgb(0, 0, 0);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    will-change: filter;
    transition: filter 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-video.is-stopped {
    filter: blur(8px) brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.hero-text {
    position: absolute;
    top: 50%;
    left: 7vw;
    width: 45%;
    max-width: 500px;
    z-index: 3;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-text.is-visible {
    transform: translate(0, -50%);
    opacity: 1;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.hero-btn {
    align-self: flex-start;
}

section {
    padding: 6rem 0;
}
.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: var(--accent-red);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(157, 2, 8, 0.7);
}
.fragrances-section {
    background-color: var(--primary-black);
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
}
.fragrances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.fragrance-card {
    background: var(--secondary-black);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    will-change: opacity, transform;
}
.fragrance-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 0 25px rgba(157, 2, 8, 0.5);
}
.fragrance-image-container {
    overflow: hidden;
    position: relative;
}
.fragrance-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out;
}
.fragrance-card:hover .fragrance-image {
    transform: scale(1.05);
}
.fragrance-info {
    padding: 2rem 1.5rem;
}
.fragrance-name {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: bold;
}
.fragrance-price {
    font-size: 1.8rem;
    color: var(--accent-red);
    font-weight: bold;
}

/* === CONTACT SECTION === */
.contact-section {
    background-color: var(--contact-bg);
    padding: 8rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.contact-info {
    padding-right: 4rem;
    border-right: 1px solid #333;
}
.section-title.contact-title {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 3rem;
}
.contact-description {
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.contact-link {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
    font-size: 1rem;
}
.contact-link:hover {
    color: var(--accent-red);
}
.contact-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}
.contact-socials-new {
    display: flex;
    gap: 1.5rem;
}
.contact-socials-new a {
    color: var(--text-grey);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.contact-socials-new a:hover {
    color: var(--accent-red);
    transform: translateY(-3px);
}
.new-contact-form {
    width: 100%;
    max-width: 450px;
}
.form-input-new {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--contact-input-border);
    padding: 1rem 0;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--text-white);
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}
.form-input-new::placeholder {
    color: var(--text-grey);
    transition: color 0.3s ease;
}
.form-input-new:focus {
    border-bottom-color: var(--accent-gold);
}
.form-input-new:focus::placeholder {
    color: var(--accent-gold);
}
.btn-submit-new {
    background-color: darkred;
    color: #fff;
    width: 100%;
    padding: 1.2rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    border-radius: 4px;
}
.btn-submit-new:hover {
    background-color: #720d0d;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--contact-bg);
    padding: 1.5rem 1rem;
    border-top: 1px solid #2a2c2f;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copyright,
.footer-separator,
.powered-by-text {
    font-size: 0.9rem;
    color: var(--text-grey);
}
.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-grey);
}
.agency-logo {
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.footer-credit:hover .agency-logo {
    opacity: 1;
}
.hero-video:not(.is-stopped) {
    cursor: pointer;
}
.footer-credit:hover .powered-by-text {
    color: var(--text-white);
}

@media (max-width: 600px) {
    .fragrances-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* === RESPONSIVE & ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  .hero-text, .fragrance-card, .nav-links {
    transition: none !important;
  }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .section-title.contact-title {
        text-align: center;
    }
    .contact-info {
        padding-right: 0;
        border-right: none;
        text-align: center;
        border-bottom: 1px solid #333;
        padding-bottom: 4rem;
    }
    .contact-details, .contact-socials-new {
        justify-content: center;
    }
    .contact-description {
        margin: 0 auto 2rem auto;
    }
    .new-contact-form {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-video.is-stopped {
        filter: none;
}
    .burger {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .nav-meta {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3.5rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    }
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    .nav-links.nav-active .nav-list li {
        opacity: 1;
        transform: translateX(0);
    }
    .nav-list li {
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
        transform: translateX(20px);
    }
    .nav-links.nav-active li:nth-child(1) {
        transition-delay: 0.2s;
    }
    .nav-links.nav-active li:nth-child(2) {
        transition-delay: 0.3s;
    }
    .nav-links.nav-active li:nth-child(3) {
        transition-delay: 0.4s;
    }
    .nav-link {
        font-size: 2rem;
    }
    .language-switcher {
        gap: 1rem;
    }
    .mobile-socials {
        display: flex;
        gap: 2rem;
        position: absolute;
        bottom: 5%;
        opacity: 0;
        transition: opacity 0.5s ease 0.6s;
    }
    .nav-links.nav-active .mobile-socials {
        opacity: 1;
    }
    .mobile-socials a {
        color: var(--text-grey);
        font-size: 1.5rem;
    }

.hero {
    min-height: 80vh;

    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-text {
    position: relative; 
    left: auto; 
    width: 90%;
    max-width: 90%;
    text-align: center;
    backdrop-filter: blur(12px);        
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;                  
    border-radius: 8px;                
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease-out;
}

.hero-text.is-visible {
    transform: translateY(0); 
    opacity: 1;
}
    .hero-video {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }


    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btn {
        align-self: center;
    }
    .footer-content {
        gap: 0.5rem 1rem;
    }
}