@font-face {
    font-family: 'Killigrew';
    font-style: normal;
    font-weight: 400;
    src: local('Killigrew'), url('assets/fonts/Killig.woff') format('woff');
    font-display: swap;
}

:root {
    --primary-bg: #000000;
    --secondary-bg: #0d0d0d;
    --accent: #ffffff;
    --accent-hover: #b3b3b3;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --font-heading: 'Cinzel', serif;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-logo-text {
    font-family: 'Killigrew', serif;
    font-weight: normal;
    font-size: 1.5em;
    text-transform: none;       /* Override h1's uppercase — Killigrew needs mixed case */
    display: inline-block;
    line-height: 1;             /* Prevent taller Killigrew glyphs from being clipped */
    vertical-align: middle;
    color: var(--accent);       /* Gold accent to make it pop */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--primary-bg);
    color: var(--text-main);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    height: 100vh;
    background: url('assets/street_sign.png') center/contain no-repeat;
    opacity: 0.15;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: screen;
}

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

.section {
    padding: 120px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 6px 0;
    transition: var(--transition);
}

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

.hamburger.toggle .line:nth-child(2) {
    opacity: 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 0px; /* Sharp edges for urban look */
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #000 !important;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent) !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main) !important;
    border: 2px solid var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: #000 !important;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.nav-btn {
    padding: 12px 24px !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary-bg);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/yelp_1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    filter: contrast(1.2) saturate(1.2) brightness(1.1);
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 25vh; /* Moves the words down to expose the photo more */
    margin-left: auto; /* Pushes the block to the right */
    margin-right: 5%; /* Prevents it from hitting the exact edge */
    text-align: right; /* Aligns the text itself to the right */
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end; /* Align buttons to the right */
}

/* About Section */
.about {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.about-text .highlight {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    border-left: 5px solid var(--accent);
    padding-left: 20px;
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px; /* Fixed height for prominent carousel */
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Show upper body/facial features */
    filter: contrast(1.15) saturate(1.2) brightness(1.05); /* Enhance photo */
    transition: transform 0.8s ease;
}

.about-image.slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 0.8s ease;
}

.about-image.slide.active {
    opacity: 1;
    z-index: 2;
}

.about-image-wrapper:hover .about-image.slide.active {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background-color: var(--primary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card {
    background-color: var(--primary-bg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--secondary-bg);
}

.service-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.service-info .duration {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.service-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 85%;
}

.service-price {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    min-width: 80px;
    text-align: right;
}

.services-footer {
    text-align: center;
    margin-top: 80px;
}

/* Videos Section */
.videos {
    background-color: var(--secondary-bg);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.video-thumbnail-link {
    display: block;
    position: relative;
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85);
}

.video-thumbnail-link:hover .video-thumbnail {
    transform: scale(1.03);
    filter: brightness(1);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.video-thumbnail-link:hover .play-button-overlay {
    background-color: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
}

/* Team Section */
.team {
    background-color: var(--secondary-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px 40px;
}

.team-card {
    text-align: center;
    cursor: pointer;
}

.team-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 25px;
    transition: var(--transition);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.team-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Shop / Merch Section */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: var(--primary-bg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-info .price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 30px;
    filter: invert(1);
}

.street-sign-logo {
    max-width: 100%;
    margin-top: 20px;
    border-radius: 4px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.hours-list li span {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    max-height: 85vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    color: var(--text-muted);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--accent);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 30px;
}

.modal-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.modal-info h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-body h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent);
    margin-top: 25px;
    font-family: var(--font-heading);
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.8;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.modal-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(80%);
    transition: var(--transition);
}

.modal-gallery img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 4rem; }
    .about-container { grid-template-columns: 1fr; }
    .about-image-wrapper { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .service-card { flex-direction: column; gap: 20px; }
    .service-price { text-align: left; }
    .footer-grid { grid-template-columns: 1fr; }
}
