/* CSS Variables for Color Palette */
:root {
    --primary-text: #4a3d29;
    --accent-color: #8f331c;
    --background: #e5dac8;
    --foreground: #f9f9f9;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
    --dark-gray: #333333;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--primary-text);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Language Flags */
.language-flags {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.flag-link {
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.2s ease;
    padding: 0.25rem;
    border-radius: 4px;
}

.flag-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

.flag-link.active {
    opacity: 1;
    background: rgba(143, 51, 28, 0.1);
}

/* Mobile Language Flags */
.mobile-language-flags {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.mobile-language-flags .flag-link {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-text);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

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

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

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

/* Hero Section */
.hero {
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
}

.hero-video-section {
    background: #000000;
    width: 100%;
}

.hero-content {
    background: linear-gradient(135deg, var(--background) 0%, var(--foreground) 100%);
    width: 100%;
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}


.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    width: 100%;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.cta-button {
    display: block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    font-size: 1.1rem;
    margin: 1rem auto 0;
    text-align: center;
    width: fit-content;
}

.cta-button:hover {
    background: #7a2c18;
}

.hero-media {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 700px;
}

.hero-text-overlay h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.hero-text-overlay h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.hero-text-overlay .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary-text);
    text-align: center;
    margin-bottom: 3rem;
}

.section h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Automatic alternating background colors for sections */
main .section:nth-of-type(even) {
    background: var(--foreground);
}

main .section:nth-of-type(odd) {
    background: var(--background);
}

/* Business Facts Section */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.fact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fact-card h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.fact-card ul {
    list-style: none;
}

.fact-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.fact-card li:last-child {
    border-bottom: none;
}

.fact-card strong {
    color: var(--primary-text);
}


.awards-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.score-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.score {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.platform {
    font-weight: bold;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.detail {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.score-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.score-card a:hover {
    text-decoration: underline;
}

.awards-list {
    list-style: none;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.awards-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 1.5rem;
}

.awards-list li:last-child {
    border-bottom: none;
}

.awards-list li:before {
    content: "🏆";
    position: absolute;
    left: 0;
    top: 0.75rem;
}

/* Property Section */
.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.facility-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.facility-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.facility-card:nth-child(3) .facility-images,
.facility-card:nth-child(4) .facility-images {
    grid-template-columns: 1fr 1fr;
}

.facility-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}


.opportunity-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.opportunity-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.opportunity-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.opportunity-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.opportunity-image {
    text-align: center;
}

.opportunity-image img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.caption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.location-info ul,
.attractions ul {
    list-style: none;
}

.location-info li,
.attractions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.location-info li:before {
    content: "📍";
    position: absolute;
    left: 0;
}

.attractions li:before {
    content: "🎯";
    position: absolute;
    left: 0;
}

.location-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.location-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}


.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method a {
    color: var(--accent-color);
    text-decoration: none;
    margin-left: 1rem;
    font-weight: bold;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background: var(--primary-text);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .language-flags {
        display: none;
    }
    
    .mobile-language-flags {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 5rem 2rem 1rem;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        white-space: normal;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .awards-content,
    .opportunity-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-images {
        grid-template-columns: 1fr;
    }
    
    .facility-images {
        grid-template-columns: 1fr;
    }
    
    .hero-video {
        height: 300px;
    }
    
    .hero-text-overlay h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-text-overlay h2 {
        font-size: 1.5rem;
        white-space: normal;
    }
    

    .hero {
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 40px 20px 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .scores-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-video {
        height: 250px;
    }
    
    .hero-text-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-text-overlay h2 {
        font-size: 1.2rem;
    }
    
    .hero-text-overlay .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 30px 15px 50px;
    }
}

/* Footer Credit */
.credit {
    font-size: 0.7rem !important;
    margin-top: 0.5rem !important;
    opacity: 0.7;
}

.credit a {
    text-decoration: none;
}

.credit a:hover {
    color: var(--accent-color) !important;
}

/* Corporate Structure Styling */
.company-structure {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.parent-company, .subsidiary-company {
    background: var(--light-gray);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

.parent-company h4, .subsidiary-company h4 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.parent-company p, .subsidiary-company p {
    color: var(--medium-gray);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.subsidiary-arrow {
    text-align: center;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.company-structure ul {
    margin-left: 0;
    padding-left: 1rem;
    margin-bottom: 0;
}

.company-structure li {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}
