/* Kirk Padmore | Creative Director
    Brand Palette: 95% Black, Electric Cyan, Gold Yellow
*/

:root {
    --black-95: #0D0D0D;
    --black-darker: #050505;
    --yellow-brand: #FFD900;
    --cyan-brand: #0ADDFF;
    --text-muted: #e0e0e0; 
}

/* --- Global Reset & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black-95) !important;
    color: #ffffff !important;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
    font-weight: 700;
    letter-spacing: -1px;
}

.ls-2 { letter-spacing: 2px; }

/* --- Color Utilities --- */
.text-cyan { color: var(--cyan-brand) !important; }
.text-yellow { color: var(--yellow-brand) !important; }
.bg-dark-95 { background-color: var(--black-95) !important; }
.bg-darker { background-color: var(--black-darker) !important; }

/* --- Navigation --- */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--cyan-brand) !important;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 90vh;
    padding: 180px 0 !important; /* Architect spacing */
    background: linear-gradient(rgba(13, 13, 13, 0.85), rgba(13, 13, 13, 0.85)), 
                url("images/main/hero-img-desktop.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* --- Buttons --- */
.btn {
    border-radius: 0;
    padding: 14px 32px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-yellow {
    background-color: var(--yellow-brand) !important;
    color: var(--black-95) !important;
    border: none;
}

.btn-yellow:hover {
    background-color: #e6c400 !important;
    transform: translateY(-2px);
}

.btn-cyan {
    background-color: var(--cyan-brand) !important;
    color: var(--black-95) !important;
    border: none;
}

.btn-cyan:hover {
    border: 2px solid var(--cyan-brand) !important;
    color: var(--cyan-brand) !important;
    background: transparent;
}

.btn-outline-cyan {
    border: 2px solid var(--cyan-brand) !important;
    color: var(--cyan-brand) !important;
    background: transparent;
}

.btn-outline-cyan:hover {
    background: var(--cyan-brand) !important;
    color: var(--black-95) !important;
}

/* --- Academy Section (High Contrast Fix) --- */
.bg-cyan-accent {
    background-color: var(--cyan-brand) !important;
}

/* Forces all text inside the Cyan section to be readable Black */
.bg-cyan-accent, 
.bg-cyan-accent h2, 
.bg-cyan-accent h6, 
.bg-cyan-accent p, 
.bg-cyan-accent li, 
.bg-cyan-accent span, 
.bg-cyan-accent strong,
.bg-cyan-accent i {
    color: #0D0D0D !important;
}

/* --- Curriculum Cards --- */
.curriculum-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #111 !important;
}

.curriculum-card:hover {
    transform: translateY(-10px);
    border-color: var(--yellow-brand) !important;
}

.curriculum-card h4 { color: #ffffff !important; }
.curriculum-card p { color: #d1d1d1 !important; }

/* --- Testimonials (Swiper) --- */
.testimonial-card {
    transition: transform 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--black-darker) !important;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #1a1a1a !important;
}

.border-cyan { border-color: var(--cyan-brand) !important; }

.swiper-pagination-bullet {
    background: #555 !important;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--cyan-brand) !important;
    width: 25px;
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* --- Calculator UI --- */
.calculator-card {
    background: #151515 !important;
    border: 1px solid #333 !important;
}

.result-box {
    border: 2px dashed var(--cyan-brand) !important;
    background: rgba(10, 221, 255, 0.05) !important;
}

.disclaimer-accordion summary { 
    cursor: pointer; 
    border-bottom: 1px solid #333; 
    padding-bottom: 5px; 
}

.disclaimer-content { 
    background: #111 !important; 
    border-radius: 0; 
}

/* --- Form Control & Visibility --- */
label, .form-label {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.form-select, .form-control {
    background-color: #1a1a1a !important;
    border: 1px solid #444 !important;
    color: #ffffff !important;
    border-radius: 0;
    padding: 12px;
}

.form-select:focus, .form-control:focus {
    border-color: var(--cyan-brand) !important;
    box-shadow: none;
    background-color: #222 !important;
}

::placeholder {
    color: #a0a0a0 !important;
    opacity: 1;
}

.text-muted, p.text-muted { 
    color: var(--text-muted) !important; 
}

/* --- Social Icons --- */
.social-links img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* --- Freebies / Resource Cards --- */
.resource-card {
    transition: all 0.3s ease;
    border-radius: 0;
}

.resource-card:hover {
    border-color: var(--cyan-brand) !important;
    background: #111 !important;
    transform: translateY(-5px);
}

.resource-icon i {
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon i {
    transform: scale(1.1);
}

/* Custom Vertical Ratio for TikTok/Reels */
.ratio-9x16 {
    --bs-aspect-ratio: 177.77%; /* This creates the 9:16 vertical shape */
}

/* Optional: Adding a slight rounded edge to make them look like phone screens */
.ratio-9x16 iframe, .ratio-9x16 video {
    border-radius: 20px;
    border: 4px solid #1a1a1a; /* Subtle frame */
}

/* Custom Vertical Ratio for TikTok/Reels */
.ratio-9x16 {
    --bs-aspect-ratio: 177.77%; 
}

.ratio-9x16 iframe {
    border-radius: 20px;
    border: 2px solid #1a1a1a;
}

/* Custom Vertical Ratio for 9:16 Video */
.ratio-9x16 {
    --bs-aspect-ratio: 177.77%; 
    background: #000; /* Prevents flicker during load */
    border-radius: 20px;
    overflow: hidden;
}

.ratio-9x16 video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the 9:16 frame perfectly */
    border: 2px solid #1a1a1a;
    transition: transform 0.3s ease;
}

.ratio-9x16:hover video {
    transform: scale(1.02); /* Subtle hover effect */
    border-color: var(--cyan-brand);
}