/* ============================================
   COLOR VARIABLES
   ============================================ */
:root {
    /* Brand Colors */
    --primary-red: #b10202;
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #999999;
    --dark-gray: #333333;
    --text-gray: #666666;
    
    /* Menu Colors */
    --menu-bg: #000000;
    --menu-hover: #C41E3A;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--primary-white);
    color: var(--dark-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */
.menu-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--primary-white);
    transition: all 0.3s ease;
    display: block;
}

.menu-btn:hover span {
    background: var(--primary-red);
}

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

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

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

/* Scroll state */
body.scrolled .menu-btn span {
    background: var(--primary-black);
}

body.scrolled .menu-btn:hover span {
    background: var(--primary-red);
}

/* ============================================
   SIDE MENU
   ============================================ */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--menu-bg);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 30px 40px;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
}

.close-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    margin-bottom: 25px;
}

.menu-items li a {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.menu-items li a:hover {
    color: var(--primary-red);
    padding-left: 10px;
}

.menu-items li a.active {
    color: var(--primary-red);
    font-weight: 600;
}

/* ============================================
   NEWS BUTTON
   ============================================ */
.news-btn {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--primary-black);
    color: var(--primary-white);
    text-decoration: none;
    padding: 30px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 900;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background: var(--primary-red);
    padding-left: 50px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(1.1) brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 1;
}

.logo-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -120%);
    z-index: 10;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.logo-link:hover {
    transform: translate(-50%, -120%) scale(1.05);
}

.hero-logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.hero-text-container {
    position: absolute;
    bottom: 60px;
    right: 80px;
    z-index: 10;
    text-align: center;
    max-width: 500px;
}

.hero-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--primary-white);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
    text-align: center;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy-section {
    background: var(--primary-white);
    padding: 80px 0;
}

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

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

.section-header h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.header-underline {
    width: 60px;
    height: 2px;
    background: var(--primary-red);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: all 0.5s ease;
    transform: none !important;
}

.philosophy-image:hover .content-image {
    filter: grayscale(0%) contrast(1.1) brightness(1);
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.philosophy-image:hover .image-overlay {
    background: rgba(177, 2, 2, 0.2);
}

.philosophy-text p {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
}

/* ============================================
   APPROACH SECTION - LIST STYLE (matches guidelines)
   ============================================ */
.approach-section {
    background: var(--light-gray);
    padding: 80px 0;
}

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

/* list layout */
.approach-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 20px;
}

/* single item */
.approach-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: background 0.18s ease;
}

/* hover/focus subtle */
.approach-item:hover,
.approach-item:focus-within {
    background: rgba(177,2,2,0.02);
}

/* left marker (matches guideline-marker style) */
.approach-marker {
    width: 6px;
    min-height: 42px;
    background: var(--primary-red);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 6px;
}

/* content */
.approach-body {
    flex: 1;
}

.approach-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 6px 0;
    letter-spacing: 0.3px;
}

.approach-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.75;
    margin: 0;
}

/* keep visual rhythm with guidelines */
.approach-item + .approach-item { margin-top: 6px; }

/* responsive */
@media (max-width: 992px) {
    .approach-container { padding: 0 28px; }
}

@media (max-width: 768px) {
    .approach-section { padding: 60px 0; }
    .approach-marker { min-height: 36px; width: 5px; margin-top: 4px; }
    .approach-title { font-size: 16px; }
    .approach-text { font-size: 14px; }
}


/* ============================================
   GUIDELINES SECTION
   ============================================ */
.guidelines-section {
    background: var(--primary-white);
    padding: 80px 0;
}

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

.guidelines-intro {
    margin-bottom: 40px;
}

.guidelines-intro p {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    letter-spacing: 0.2px;
}

.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guideline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.guideline-marker {
    width: 4px;
    height: 100%;
    min-height: 20px;
    background: var(--primary-red);
    flex-shrink: 0;
    margin-top: 5px;
}

.guideline-item p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    letter-spacing: 0.2px;
}

/* ============================================
   WARNING SECTION
   ============================================ */
.warning-section {
    background: var(--light-gray);
    padding: 60px 0;
}

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

.warning-box {
    background: var(--primary-white);
    border: 3px solid var(--primary-red);
    padding: 40px;
    text-align: center;
}

.warning-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.warning-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.warning-content p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.warning-content p strong {
    font-weight: 700;
    color: var(--primary-black);
}

.warning-report {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.warning-report a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.warning-report a:hover {
    color: var(--primary-black);
}

/* ============================================
   OPPORTUNITIES SECTION
   ============================================ */
.opportunities-section {
    background: var(--primary-white);
    padding: 80px 0;
}

.opportunities-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.opportunities-content {
    margin-bottom: 40px;
}

.opportunities-content p {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
}

.opportunities-cta {
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 18px 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--primary-black);
    padding-right: 60px;
    box-shadow: 0 5px 20px rgba(177, 2, 2, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.opportunities-links {
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.link-text {
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 0.3px;
}

.inline-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--primary-black);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 50px 40px 30px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-content .copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

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

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .approach-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .menu-btn {
        top: 20px;
        right: 20px;
    }
    
    .news-btn {
        padding: 20px 25px;
        font-size: 12px;
    }
    
    .side-menu {
        width: 250px;
        right: -250px;
        padding: 60px 20px 30px;
    }
    
    .hero-section {
        height: 55vh;
        min-height: 400px;
    }
    
    .hero-logo {
        width: 130px;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        bottom: 40px;
    }
    
    .philosophy-section,
    .approach-section,
    .guidelines-section,
    .opportunities-section {
        padding: 60px 0;
    }
    
    .philosophy-container,
    .approach-container,
    .guidelines-container,
    .warning-container,
    .opportunities-container {
        padding: 0 20px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .warning-box {
        padding: 30px 20px;
    }
    
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links span {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-logo {
        width: 110px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Hero animations */
.hero-section {
    animation: fadeIn 1s ease-out;
}

.hero-logo {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Section animations */
.philosophy-section,
.approach-section,
.guidelines-section,
.warning-section,
.opportunities-section {
    opacity: 0;
}

.philosophy-section.visible,
.approach-section.visible,
.guidelines-section.visible,
.warning-section.visible,
.opportunities-section.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Card stagger animations */
.approach-card {
    opacity: 0;
}

.approach-card.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

.approach-card:nth-child(1).visible { animation-delay: 0.1s; }
.approach-card:nth-child(2).visible { animation-delay: 0.2s; }
.approach-card:nth-child(3).visible { animation-delay: 0.3s; }

/* Guideline items stagger */
.guideline-item {
    opacity: 0;
}

.guideline-item.visible {
    animation: fadeInUp 0.5s ease-out forwards;
}

.guideline-item:nth-child(1).visible { animation-delay: 0.1s; }
.guideline-item:nth-child(2).visible { animation-delay: 0.2s; }
.guideline-item:nth-child(3).visible { animation-delay: 0.3s; }
.guideline-item:nth-child(4).visible { animation-delay: 0.4s; }

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Mobile hero fixes — better stacking, spacing and readability */
@media (max-width: 768px) {

  /* make overlay stronger so white text stays readable on small screens */
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  }

  /* logo: move up and scale down so it doesn't collide with the title */
  .logo-link {
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 12;
    transition: transform 0.25s ease;
    pointer-events: auto;
  }

  .hero-logo {
    width: 110px; /* slightly smaller */
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
  }

/* group title + subtitle in container for mobile */
  .hero-text-container {
    bottom: 40px;
    right: 20px;
    left: 20px;
    max-width: none;
    text-align: center;
  }

  .hero-title {
    font-size: 23px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 12px;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.3px;
  }

  /* ensure hero-section keeps enough vertical space for stacked content */
  .hero-section {
    height: 58vh;
    min-height: 420px;
    display: block;
  }

  /* avoid overlapping the menu button with text */
  .menu-btn {
    top: 18px;
    right: 18px;
    z-index: 1002;
  }

  /* ensure the 'LATEST' news-btn doesn't overlap logo/title */
  .news-btn {
    z-index: 1001;
  }

  /* reduce heavy shadows/filters for performance on mobile */
  .hero-image {
    filter: grayscale(100%) contrast(1.05) brightness(0.5);
    -webkit-filter: grayscale(100%) contrast(1.05) brightness(0.5);
  }

  /* Small tweak: if logo still overlaps title on some small screens, push title down more */
  @media (max-height: 680px) {
    .hero-title { top: 50%; font-size: 20px; white-space: nowrap; left: 52%;}
    .hero-subtitle { top: calc(50% + 44px); font-size: 12px; }
  }
}
