/* ===== Base & Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Prevents 300ms tap delay and ensures smooth scaling */
    touch-action: manipulation;
}

body {
    background-color: white !important;
    color: black !important;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

/* ===== Typography & Text Colors ===== */
h1,
.brand-subtitle,
.brand-logo {
    color: black !important;
}

/* Hero Title - Word-by-Word Animation */
.hero-title {
    font-size: clamp(28px, 8vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: clamp(12px, 3vh, 20px);
    text-align: center;
}

.hero-title .word {
    opacity: 0;
    display: inline-block;
    transform: translateY(10px);
    animation: fadeInWord 0.4s forwards;
}

/* Stagger word appearance */
.hero-title .word:nth-child(1) { animation-delay: 0.3s; }   /* Welcome */ 
.hero-title .word:nth-child(3) { animation-delay: 0.6s; }   /*TO*/
.hero-title .word:nth-child(5) { animation-delay: 0.9s; }   /* Superbrands*/
.hero-title .word:nth-child(7) { animation-delay: 1.2s; }

@keyframes fadeInWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-logo {
    font-size: clamp(20px, 6vw, 24px);
    font-weight: 900;
    margin-bottom: 5px;
}

.brand-subtitle {
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 600;
}

/* ===== Layout Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: clamp(16px, 2vh, 20px) clamp(16px, 4vw, 24px);
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== Top Logo ===== */
.top-logo {
    text-align: center;
    padding: clamp(8px, 1.5vh, 12px) 0;
    margin-bottom: 0;
}

.top-logo img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
}

.public-quick-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 4px 16px 10px;
}

.public-quick-nav a {
    color: #343434;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

.public-quick-nav a:hover,
.public-quick-nav a:focus-visible {
    border-bottom-color: #ad8429;
}

/* ===== Brand Header ===== */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: clamp(8px, 2vh, 12px) 0 clamp(12px, 3vh, 16px);
}

/* ===== Hero Section ===== */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(12px, 3vh, 20px) 0;
    min-height: auto;
}

.trophy-container {
    margin: clamp(12px, 3vh, 20px) 0;
}

.trophy-image {
    display: inline-block;
    max-width: 100%;
}

.trophy-image img {
    width: 100%;
    height: auto;
    max-width: min(300px, 80vw);
}

/* ===== Button ===== */
.btn-luxury {
    background-color: black !important;
    color: white !important;
    text-decoration: none;
    padding: clamp(10px, 3.5vh, 12px) clamp(24px, 8vw, 40px);
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    font-size: clamp(16px, 4.5vw, 18px);
    transition: opacity 0.3s ease;
    min-width: 140px;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 10px; /* Reduced space to bring logo closer */
}

.btn-luxury:hover {
    opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    margin-top: 0;
    padding: 0; /* Removed top padding to minimize gap */
    font-size: clamp(12px, 3.5vw, 14px);
    color: black;
}

.footer-logo {
    margin-top: 0;
    margin-bottom: 0;
}

.footer-logo img {
    max-height: 150px;
    width: auto;
    max-width: 100%;
}

/* ===== Animations ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

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

/* ===== Responsive: Small Height Screens (e.g., mobile landscape) ===== */
@media (max-height: 500px) {
    .hero-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 0px;
    }

    .btn-luxury {
        padding: 10px 20px;
        font-size: 15px;
    }

    .footer-logo img {
        max-height: 100px;
    }
}

/* ===== Extra: Very compact view for tiny screens ===== */
@media (max-height: 350px) and (orientation: landscape) {
    .hero-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .trophy-container {
        margin: 6px 0;
    }

    .btn-luxury {
        padding: 8px 16px;
        font-size: 14px;
        margin-bottom: 0px;
    }

    .footer {
        padding: 4px 0;
    }

    .footer-logo img {
        max-height: 20px;
    }
}
