/* =================================
   GLOBAL STYLES & RESET
   ================================= */

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

:root {
    --primary-black: #1a1a1a;
    --secondary-black: #2a2a2a;
    --gold: #c9a961;
    --light-gold: #d4b876;
    --cream: #f5f3f0;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #e5e5e5;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--primary-black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =================================
   TYPOGRAPHY
   ================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
}

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

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

p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 25px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a:hover {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-black);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-right: 15px;
    border-right: 1px solid var(--light-gray);
}

.lang-select {
    appearance: none;
    background: transparent;
    border: 1px solid var(--light-gray);
    color: var(--primary-black);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 6px 28px 6px 10px;
    border-radius: 18px;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--gray) 50%),
        linear-gradient(135deg, var(--gray) 50%, transparent 50%),
        linear-gradient(to right, transparent, transparent);
    background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%, 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.lang-select:focus {
    outline: none;
    border-color: var(--gold);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 5px 10px;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--gold);
}

.icon-btn {
    background: none;
    border: none;
    color: var(--primary-black);
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.icon-btn:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    transition: var(--transition);
}

/* =================================
   BUTTONS
   ================================= */

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-black);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--primary-black);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* =================================
   MODALS
   ================================= */

.modal,
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 30px;
}

.modal.active,
.image-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    text-align: center;
    border: 1px solid var(--light-gray);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray);
    cursor: pointer;
}

.modal-form {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.modal-form label {
    font-size: 0.9rem;
    color: var(--primary-black);
    text-align: left;
}

.modal-input {
    padding: 12px 14px;
    border: 1px solid var(--light-gray);
    font-family: var(--font-body);
}

.modal-message {
    display: none;
    margin-top: 16px;
    color: var(--gray);
    font-size: 0.95rem;
}

.modal-message.visible {
    display: block;
}

.image-modal-content {
    position: relative;
    max-width: 960px;
    width: 100%;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.image-modal-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    border-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
}

.link-arrow {
    display: inline-block;
    color: var(--primary-black);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: 20px;
}

.link-arrow:hover {
    color: var(--gold);
    transform: translateX(10px);
}

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

.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('images/hero_female_room.avif') center/cover;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-title {
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--gray);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--gray);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.3;
    }
}

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

/* =================================
   SECTIONS
   ================================= */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    margin-bottom: 15px;
    color: var(--primary-black);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 300;
    letter-spacing: 1px;
}

/* =================================
   FEATURED COLLECTIONS
   ================================= */

.featured-collections {
    padding: 120px 0;
    background: var(--white);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.collection-card {
    cursor: pointer;
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-10px);
}

.collection-image {
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
}

.mens-shoes {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('images/mens_tile.jpg') center/cover;
}

.womens-shoes {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                url('images/womens_tile.jpg') center/cover;
}

.bags-tile {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
                url('images/bag_05.jpg') center/cover;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.collection-info {
    text-align: center;
}

.collection-info h3 {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.collection-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* =================================
   HERITAGE SECTION
   ================================= */

.heritage {
    background: var(--cream);
    padding: 0;
}

.heritage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.heritage-image {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
                url('images/heritage.jpg') center/cover;
}

.heritage-text {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heritage-label {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 25px;
    display: inline-block;
}

.heritage-text h2 {
    margin-bottom: 35px;
    line-height: 1.1;
}

.heritage-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
}

/* =================================
   SIGNATURE PIECES
   ================================= */

.signature-pieces {
    padding: 120px 0;
    background: var(--white);
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.signature-item {
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.signature-image {
    height: 400px;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.oxford {
    background: url('images/oxford.jpg') center/cover;
}

.loafer {
    background: url('images/loafer.jpg') center/cover;
}

.pump {
    background: url('images/pump.jpg') center/cover;
}

.blazer {
    background: url('images/blazer.jpg') center/cover;
}

.signature-details h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.description {
    font-size: 0.9rem;
    color: var(--gray);
}

/* =================================
   EXPERIENCE SECTION
   ================================= */

.experience {
    padding: 150px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: var(--white);
    text-align: center;
}

.experience-content {
    max-width: 700px;
    margin: 0 auto;
}

.experience-content h2 {
    margin-bottom: 30px;
    color: var(--white);
}

.experience-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.8);
}

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

.experience .btn-primary::before {
    background: var(--white);
}

.experience .btn-primary:hover {
    color: var(--primary-black);
}

/* =================================
   TAILORING
   ================================= */

.tailoring {
    padding: 120px 0;
    background: var(--cream);
}

.tailoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tailoring-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tailoring-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.tailoring-image {
    height: 380px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.tailoring-card:hover .tailoring-image {
    transform: scale(1.03);
}

.tailoring-info {
    padding: 24px;
}

.tailoring-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tailoring-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

.tailor-suit {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
                url('manual_download/male_blazer.avif') center/cover;
}

.tailor-evening {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
                url('manual_download/male_outfit_complete.avif') center/cover;
}

.tailor-atelier {
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)),
                url('manual_download/male_black_shoes.avif') center/cover;
}

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

.footer {
    background: var(--cream);
    padding: 80px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-section p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 15px 25px;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 0;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

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

@media (max-width: 1200px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .nav-icons {
        gap: 15px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .language-switcher {
        border-right: none;
        padding-right: 0;
    }

    .heritage-content {
        grid-template-columns: 1fr;
    }

    .heritage-image {
        min-height: 400px;
    }

    .heritage-text {
        padding: 60px 40px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .signature-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero {
        margin-top: 70px;
        min-height: 600px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .featured-collections,
    .signature-pieces {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .experience {
        padding: 100px 20px;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
