/* ------------------------------------------------------------------
   1️⃣ GLOBAL RESET & ROOT VARIABLES
------------------------------------------------------------------- */
* {
    box-sizing: border-box; /* Crucial for alignment */
    margin: 0;
    padding: 0;
}
p { margin-block-end: 1rem; margin-block-start: 0; }

a {
  text-decoration: none;
}

/* If your links have a glow */
a {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    transition: all 0.3s ease;
}

/* When visited, the 'light' turns off */
a:visited {
    color: #7a8ba8; /* A dimmed version of your Cobalt */
    text-shadow: none; 
}

:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #a0a8b9;
    --accent: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.3);
    --nav-text: #94a3b8;
    --nav-height: 80px;
}

/* ------------------------------------------------------------------
   2️⃣ THEMES
------------------------------------------------------------------- */
.theme-executive {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #a0a8b9;
    --accent: #f1c40f;
    --accent-glow: rgba(241, 196, 15, 0.3);
    --card-border: #2d2613;
    --nav-text: #94a3b8;
}

.theme-cobaltslate {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #a0a8b9;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.15);
    --card-border: #1e293b;
    --nav-text: #94a3b8;
}

/* ------------------------------------------------------------------
   3️⃣ BODY & LAYOUT
------------------------------------------------------------------- */
body {
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* --- Header & Nav --- */
header {
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border); /* <--- And here */
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 60px; /* Increased size for visibility */
    width: auto;
    margin-right: 15px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 5%;
    display: flex;
    align-items: center;
    min-height: 60vh;
    background: radial-gradient(circle at 80% 20%, #1c253d 0%, var(--bg-color) 50%);
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 4rem; /* Big, bold executive statement */
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent);
    display: block;
    text-shadow: 0 0 15px var(--accent-glow);
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 300;
}

.studio-image img {
    max-width: 512px; /* Adjust size as needed */
    height: auto;
    object-fit: cover;
}

.hero-image img {
    width: 128px; /* Adjust size as needed */
    height: 128px;
    object-fit: cover;
    border-radius: 50%; /* Circular for a friendly, modern feel */
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    padding: 1em;
}

/* --- Buttons --- */
.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 18px 36px;
    border-radius: 4px; /* Slightly sharper for an engineering feel */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-primary,
.btn-primary:visited {
    background: var(--accent);
    color: #000;
}

.btn-secondary,
.btn-secondary:visited {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* --- Pillars --- */
.pillars {
    padding: 40px 5% 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.pillar-card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: 8px; /* Slightly rounded for modern feel */
    border: 1px solid var(--card-border); /* <--- Use it here */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card:hover {
    border-left: 4px solid var(--accent);
    background: #1d2433;
    box-shadow: 0 0 30px var(--accent-glow);
    background: #1c2331;
}

.pillar-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pillar-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.pillar-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.main-footer{
    text-align:center;
    padding:5px 0;
    font-size:.9rem;
    opacity:.7;
}
.main-footer select{
    background:var(--bg-color);
    color:var(--text-main);
    border:1px solid var(--nav-text);
    border-radius:4px;
}

/* The wrapper that goes full width */
.full-width-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--card-border);
}

/* The inner container that holds the content */
.content-wrapper {
    width: 90%;
    max-width: 1200px; /* Increased from 900px to feel "Executive" */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* For pure narrative text (like the About story), 
   we still want a slightly tighter lead for readability */
.narrative-text {
    max-width: 850px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 5%;
}

.about-header {
    margin-bottom: 60px;
    border-left: 4px solid var(--accent);
    padding-left: 30px;
}

.about-header h1 {
    font-size: 3rem;
    margin: 0;
}

.story-section {
    margin-bottom: 80px;
}

.story-section h2 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.story-content {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 25px;
}

.legal-section {
    margin-bottom: 10px;
}

.legal-section h2 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.highlight-box {
    background: var(--midnight-card);
    border: 1px solid var(--card-border); /* <--- Consistency is key */
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-item label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Interactivity & Pop --- */

/* Give the Tier Cards a subtle 'floating' effect */
.tier-card {
    background: var(--midnight-card);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--card-border); /* Inactive state */
    padding: 40px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 80px 1fr 180px;
    align-items: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* The Hover State: This is the "Pop" */
.tier-card:hover {
    transform: translateX(10px); /* Subtle shift to the right */
    border-left: 4px solid var(--accent);
    background: #1c2433;
    box-shadow: -10px 0 30px var(--accent-glow);
}

/* Make the icons glow when the card is hovered */
.tier-card:hover .tier-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--accent));
}

.tier-icon {
    transition: all 0.3s ease;
    text-align: center;
}

/* Price styling to make it feel premium */
.tier-price {
    text-align: right;
    border-left: 1px solid var(--card-border);
    padding-left: 20px;
}
.tier-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px; /* Optional: rounds the corners of your image */
    background: var(--midnight-bg); /* Placeholder color while image loads */
}

.tier-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is key: it scales and crops to fit the 80x80 box */
    transition: transform 0.3s ease;
}

/* Add that "Pop" we talked about earlier to the image specifically */
.tier-card:hover .tier-visual img {
    transform: scale(1.1);
    filter: brightness(1.2);
}
/* Subtle animation for the methodology stats */
.stat-item {
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-item label {
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent-glow);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info on the left, Booking on the right */
    gap: 40px;
    margin-top: 40px;
}

/* Make sure the Zcal embed doesn't break your dark theme */
.zcal-container {
    min-height: 600px;
    width: 100%;
}

.contact-method {
    display: flex;
    justify-content: flex-start;
    align-items: center; /* This is the vertical centering magic */
    flex-direction: row;
    gap: 0.9em;
    margin-bottom: 0.3em;
}

.method-link {
    display:flex;
    align-items:center;
    gap:0.75rem;   /* adjust as needed */
}

.method-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Optional: Turn color logos into a clean 'Slate' look to match the theme */
    filter: brightness(0.7) grayscale(1); 
    transition: 0.3s ease;
}

/* Hover effect: The logo "wakes up" in your accent color */
.contact-method:hover .method-icon img {
    filter: brightness(1) grayscale(0);
}

.method-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary); /* Default Slate color */
    transition: all 0.3s ease;
}

.method-icon svg {
    width: 100%;
    height: 100%;
    /* This ensures the lines of the icon are clean and scale well */
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hover Effect: The icon and text light up together */
.contact-method:hover .method-icon {
    color: var(--accent); /* Switches the SVG color to Cobalt/Gold */
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.emoji {
  font-size: 3em;
  line-height: 1; /* keeps them from adding weird vertical spacing */
}

@media (max-width: 900px) {
    .hero h1 { font-size: 2.8rem; }
    header { flex-direction: column; height: auto; padding: 20px; }
    nav ul { margin-top: 20px; gap: 15px; }
    .hero { flex-direction: column-reverse; text-align: center; }
    .hero-image { margin-bottom: 40px; }    
    .tier-card { grid-template-columns: 1fr; text-align: center; }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .studio-image img {
        max-width: 256px; /* Adjust size as needed */
    }
}

@media (max-width: 768px) {
    .full-width-section {
        padding: 40px 0; /* Even tighter spacing for small screens */
    }

    .content-wrapper {
        width: 88%; /* Slightly more gutter on phones */
    }

    /* Fix the Leadership Tiers */
    .tier-card {
        grid-template-columns: 1fr; /* Stack everything vertically */
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .tier-visual {
        margin: 0 auto; /* Center the image/icon */
    }

    .tier-price {
        text-align: center;
        border-left: none;
        border-top: 1px solid var(--card-border);
        padding-left: 0;
        padding-top: 20px;
    }

    /* Fix the Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr; /* Info on top, Zcal below */
        gap: 30px;
    }

    /* Fix the Hero Headlines */
    .about-header h1 {
        font-size: 2.2rem; /* Scaled down so it doesn't wrap awkwardly */
    }
}