/* PTR Catering - Base44 Flat Design Theme */
/* Color Palette:
   Primary Dark: #2c3e50 (navy)
   Secondary: #d4a574 (gold)
   Accent: #8b9e83 (sage green)
   Text: #333333 (dark grey)
   Light BG: #f8f8f8 (off-white)
   White: #ffffff
*/

/* ============= ROOT STYLES ============= */
:root {
    --ptr-primary: #2c3e50;
    --ptr-secondary: #d4a574;
    --ptr-accent-green: #8b9e83;
    --ptr-dark-text: #333333;
    --ptr-light-bg: #f8f8f8;
    --ptr-white: #ffffff;
    --ptr-border: #e0e0e0;
    --ptr-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --ptr-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ============= TYPOGRAPHY ============= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ptr-dark-text);
    background-color: var(--ptr-light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--ptr-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--ptr-accent-green);
}

/* ============= HEADER & HERO BANNER ============= */
header {
    background: linear-gradient(135deg, var(--ptr-primary) 0%, #34495e 100%);
    color: var(--ptr-white);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
}

header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(139, 158, 131, 0.08);
    border-radius: 50%;
}

header h1 {
    color: var(--ptr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
}

header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border: 2px solid var(--ptr-secondary);
}

.hero-tagline {
    color: var(--ptr-secondary);
    font-size: 1.3rem;
    font-style: italic;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
}

/* Header layout for brand + actions */
.header-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand-link { display:flex; align-items:center; gap:0.75rem; text-decoration:none; color:inherit; }
.brand img { width:64px; height:64px; border-radius:50%; border:2px solid var(--ptr-secondary); }
.brand-title { font-family:'Playfair Display', serif; font-weight:700; font-size:1.15rem; color:var(--ptr-white); }
.brand-accent { color:var(--ptr-secondary); margin-left:6px; font-weight:600; font-size:0.9rem; }

.header-actions { display:flex; align-items:center; gap:12px; }
.btn { display:inline-block; padding:10px 18px; border-radius:999px; text-decoration:none; font-weight:700; font-size:0.95rem; }
.btn-book { background:#ff8c1a; color:#fff; box-shadow:var(--ptr-shadow); border:2px solid rgba(0,0,0,0.05); }
.btn-book:hover { transform:translateY(-3px); box-shadow:var(--ptr-shadow-hover); background:#ff9b33; }
.btn-outline { background:transparent; color:var(--ptr-white); border:2px solid var(--ptr-secondary); padding:9px 18px; }
.btn-outline:hover { background:rgba(255,255,255,0.03); }

.hamburger { background:transparent; border:none; color:var(--ptr-white); font-size:1.6rem; padding:8px 10px; border-radius:8px; cursor:pointer; }

/* Hero left-aligned presentation (single consolidated block) */
.hero {
    height: 100vh;
    background: transparent; /* background moved to ::before for filtered control */
    display: flex;
    align-items: center;
    justify-content: center; /* center horizontally */
    position: relative;
    padding: 2rem 0; /* give breathing room for header */
    box-shadow: inset 0 0 0 6px rgba(212,165,116,0.08); /* subtle gold frame */
}

/* background image kept in ::before so we can filter it without affecting text */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../carousel_images/ptr_catering_buffet_display_full_table.jpg');
    background-size: cover;
    background-position: center center;
    filter: saturate(1.08) contrast(1.06) brightness(0.96);
    transform-origin: center center;
    z-index: 0;
}

/* gradient overlay sits above the background but below content */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44,62,80,0.55), rgba(44,62,80,0.62));
    z-index: 1;
}
.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 4rem 6rem;
    text-align: left;
}
.hero .hero-title {
    font-size: 4.4rem;
    line-height: 1;
    color: var(--ptr-secondary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.6rem;
}
.hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 3rem 2rem;
    text-align: center; /* center text */
    margin: 0 auto;
}
.hero .hero-subtag {
    display:block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: rgba(212,165,116,0.95);
}
.hero .hero-title {
    font-size: 3.6rem;
    line-height: 1.05;
    color: var(--ptr-secondary);
    font-family: 'Playfair Display', serif;
    margin: 0.15rem 0 0.6rem 0;
    letter-spacing: -0.6px;
}
.hero .hero-sub {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.95);
    margin: 0 auto 1.5rem auto;
    max-width: 720px;
}
.hero .hero-ctas { display:flex; gap:14px; align-items:center; justify-content:center; }

/* ============= LUXURY IMAGE TREATMENT ============= */
/* Apply subtle image enhancements: rounded, shadow, gentle color/contrast boost and hover scale */
.image-carousel img,
.card img,
.hero .hero-background-img,
.page img,
main img {
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(10,10,10,0.35);
    filter: saturate(1.09) contrast(1.08) brightness(0.98);
    transition: transform 420ms cubic-bezier(.2,.8,.2,1), filter 220ms ease, box-shadow 220ms ease;
    transform-origin: center center;
    backface-visibility: hidden;
    border: 5px solid rgba(212,165,116,0.85); /* gold border around every image */
    padding: 4px; /* inner spacing so the gold border sits away from image edge */
}

.image-carousel img:hover,
.card img:hover,
.page img:hover,
main img:hover {
    transform: scale(1.04);
    filter: saturate(1.12) contrast(1.12) brightness(1.03);
    box-shadow: 0 30px 72px rgba(6,6,6,0.48);
}

/* Make card images feel more "heroic" with a subtle gold ring on hover */
.card img:hover { outline: 4px solid rgba(212,165,116,0.12); outline-offset: 8px; }

/* Brand image treatment */
.brand img { box-shadow: 0 6px 18px rgba(0,0,0,0.28); border: 3px solid rgba(212,165,116,0.55); }

/* For smaller thumbnails reduce shadow intensity */
@media (max-width: 640px) {
    .image-carousel img, .card img, main img { box-shadow: 0 10px 22px rgba(0,0,0,0.25); }
}
.hero .btn-primary, .btn.btn-primary {
    background: #ff8c1a;
    color: #fff;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(34,34,34,0.18);
    border: 0;
    display: inline-block;
    text-decoration: none;
}
.hero .btn-primary:hover, .btn.btn-primary:hover {
    transform: translateY(-3px);
    background: #ff9b33;
}
.hero .btn-secondary, .btn.btn-secondary {
    background: rgba(20,34,50,0.35);
    color: var(--ptr-white);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid var(--ptr-secondary);
    display: inline-block;
    text-decoration: none;
}
.hero .btn-secondary:hover, .btn.btn-secondary:hover {
    background: rgba(20,34,50,0.48);
}
.hero .btn-primary:focus, .hero .btn-secondary:focus, .btn:focus {
    outline: 3px solid rgba(212,165,116,0.2);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .hero { height:70vh; }
    .hero .hero-content { padding: 3rem 3rem; }
    .hero .hero-title { font-size:3rem; }
}

@media (max-width: 640px) {
    .header-inner { padding:0 12px; }
    .hero { height:56vh; }
    .hero .hero-content { padding: 2rem 1.25rem; }
    .hero .hero-title { font-size:1.9rem; }
    .brand-title { font-size:1rem; }
}


/* Header variant when shown over the homepage hero */
header.over-hero {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding-top: 1rem;
    padding-bottom: 0.25rem;
}
header.over-hero h1 { color: var(--ptr-white); }
header.over-hero .social-links { margin-top: 0.5rem; }





/* ============= NAVIGATION ============= */
nav {
    background: var(--ptr-white);
    border-bottom: 3px solid var(--ptr-secondary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--ptr-shadow);
}

nav ul {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Mobile nav: hide by default and slide down when opened */
nav { position: relative; }
@media (max-width: 768px) {
    nav ul { display: none; flex-direction: column; background: var(--ptr-primary); color: var(--ptr-white); padding: 12px; border-radius: 8px; margin: 6px 12px; }
    nav ul li { width: 100%; }
    nav ul li a { color: var(--ptr-white); padding: 12px 8px; text-align:left; border-bottom:1px solid rgba(255,255,255,0.06); }
    body.nav-open nav ul { display: flex; }
}

nav li {
    flex: 0 0 auto;
    min-width: auto;
}

nav a {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    color: var(--ptr-primary);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    border-radius: 999px;
    background: transparent;
    border: 2px solid transparent;
}

nav li:last-child a {
    border-right: none;
}

nav a:hover {
    background-color: rgba(44,62,80,0.06);
    color: var(--ptr-secondary);
    transform: translateY(-2px);
}

nav a.active {
    background-color: var(--ptr-secondary);
    color: var(--ptr-white);
    box-shadow: 0 6px 18px rgba(44,62,80,0.12);
    border-color: var(--ptr-secondary);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav li {
        min-width: 100%;
    }

    nav a {
        border-right: none;
        border-bottom: 1px solid var(--ptr-border);
    }

    nav li:last-child a {
        border-bottom: none;
    }
}

/* ============= MAIN CONTENT ============= */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ============= BOOKING / PLAN YOUR EVENT STYLES ============= */
.booking-section { padding: 4rem 1rem; background: linear-gradient(180deg, rgba(5,29,62,0.95), rgba(20,34,50,0.98)); }
.booking-inner { max-width: 1100px; margin: 0 auto; }
.booking-intro .small-kicker { text-transform: uppercase; color: var(--ptr-secondary); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.75rem; text-align:center; }
.booking-heading { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--ptr-white); margin-bottom: 1.5rem; text-align:center; }
.booking-card { background: linear-gradient(180deg, rgba(12,38,75,0.94), rgba(22,52,88,0.98)); border-radius: 18px; padding: 28px; border: 1px solid rgba(212,165,116,0.12); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.booking-form { display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.booking-row { flex: 1 1 260px; min-width:220px; display:flex; flex-direction:column; gap:8px; }
.booking-row.booking-notes { flex: 1 1 100%; }
.booking-label { font-size:0.75rem; color: rgba(212,165,116,0.95); font-weight:700; }
.booking-row input[type=date], .booking-row input[type=number], .booking-row input[type=email], .booking-row input[type=tel], .booking-row input[type=text], .booking-row input[type=time], .booking-row textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color: var(--ptr-white); }
.booking-row textarea { min-height: 110px; resize: vertical; }
.booking-row input::placeholder { color: rgba(255,255,255,0.6); }
.booking-actions { display:flex; gap:18px; align-items:center; justify-content:center; width:100%; margin-top:18px; }
.btn-quote { background: linear-gradient(90deg,#ffd400,#f4c000); color:#112; padding:12px 28px; border-radius:999px; font-weight:700; border:none; box-shadow:0 8px 24px rgba(0,0,0,0.25); text-decoration:none; }
.btn-chat { background: linear-gradient(90deg,#ff8c1a,#ff6a00); color:#fff; padding:12px 26px; border-radius:999px; font-weight:700; border:none; text-decoration:none; display:inline-flex; align-items:center; }
.btn-quote i, .btn-chat i { font-size:16px; }
.icon-feature { color: var(--ptr-secondary); margin-right: 0.5rem; }
.icon-button { margin-right: 8px; }

@media (max-width: 860px) {
    .booking-form { flex-direction:column; }
    .booking-actions { margin-top:12px; }
}

section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--ptr-white);
    border-radius: 8px;
    box-shadow: var(--ptr-shadow);
}

section:first-of-type {
    margin-top: 0;
}

/* ============= BREADCRUMBS ============= */
nav.breadcrumbs {
    background: var(--ptr-light-bg);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--ptr-border);
    border-radius: 0;
    position: relative;
    top: 0;
    box-shadow: none;
}

nav.breadcrumbs ul {
    display: none;
}

nav.breadcrumbs a {
    color: var(--ptr-secondary);
    font-size: 0.9rem;
}

/* ============= CATEGORY GRID ============= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: var(--ptr-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ptr-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ptr-shadow-hover);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-title {
    background: linear-gradient(135deg, var(--ptr-primary) 0%, #34495e 100%);
    color: var(--ptr-white);
    padding: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.card:hover .card-title {
    background: linear-gradient(135deg, var(--ptr-secondary) 0%, #c89856 100%);
}

.card.card-easter {
    opacity: 0.8;
}

.card.card-easter:hover {
    opacity: 1;
}

/* ============= GALLERY SECTION ============= */
#gallery {
    background: var(--ptr-white);
}

.image-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    background: var(--ptr-light-bg);
    border-radius: 8px;
    margin: 2rem 0;
}

.image-carousel img {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    margin: auto;
    transition: var(--transition);
}

/* Slick Carousel Override */
.slick-slider {
    background: var(--ptr-light-bg);
    border-radius: 8px;
    overflow: hidden;
}

.slick-prev,
.slick-next {
    background: rgba(212, 165, 116, 0.8) !important;
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 930;
    transition: var(--transition);
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--ptr-secondary) !important;
}

.slick-prev::before,
.slick-next::before {
    color: var(--ptr-white) !important;
    font-size: 20px !important;
}

.slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.slick-dots li {
    width: auto !important;
}

.slick-dots li button::before {
    color: var(--ptr-secondary) !important;
    font-size: 12px !important;
    opacity: 0.6;
    transition: var(--transition);
}

.slick-dots li.slick-active button::before {
    color: var(--ptr-primary) !important;
    opacity: 1;
}

/* ============= LIGHTBOX ============= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(212, 165, 116, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--ptr-white);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    background: var(--ptr-secondary);
    transform: rotate(90deg);
}

/* ============= TESTIMONIALS ============= */
#testimonials {
    background: var(--ptr-light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial {
    background: var(--ptr-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--ptr-secondary);
    box-shadow: var(--ptr-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    box-shadow: var(--ptr-shadow-hover);
    transform: translateX(5px);
}

.testimonial p {
    font-style: italic;
    color: var(--ptr-dark-text);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--ptr-primary);
}

.testimonial img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--ptr-secondary);
}

/* ============= SERVICES SECTION ============= */
#services {
    background: var(--ptr-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: linear-gradient(135deg, var(--ptr-light-bg) 0%, var(--ptr-white) 100%);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--ptr-secondary);
    box-shadow: var(--ptr-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ptr-shadow-hover);
    border-top-color: var(--ptr-accent-green);
}

.service-card h3 {
    color: var(--ptr-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Per-service background imagery */
.services-grid .service-card {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.services-grid .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: saturate(1.08) contrast(1.03) brightness(0.6);
    transition: transform 420ms ease, filter 300ms ease;
    z-index: 0;
}

.services-grid .service-card::after {
    /* subtle dark overlay for legibility */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,18,34,0.35), rgba(6,18,34,0.45));
    z-index: 1;
}

.services-grid .service-card * { position: relative; z-index: 2; }

/* 1. Spit Braai - flames/grill image */
.services-grid .service-card:nth-child(1)::before {
    background-image: url('../carousel_images/Flames.webp');
}

/* 2. Menu Variety - buffet / food */
.services-grid .service-card:nth-child(2)::before {
    background-image: url('../carousel_images/ptr_catering_buffet_display_full_table.webp');
}

/* 3. Professional Service - use a neutral professional/serving image; replace later if handshake asset provided */
.services-grid .service-card:nth-child(3)::before {
    background-image: url('../carousel_images/handshake.webp');
    filter: saturate(1.0) contrast(1.02) brightness(0.78);
}

/* 4. Regional Coverage - colourful round badge */
.services-grid .service-card:nth-child(4)::before {
    /* Use the road image as the full-card background for Regional Coverage */
    background-image: url('../carousel_images/road.webp');
    background-size: cover;
    background-position: center center;
    filter: saturate(1.02) contrast(1.03) brightness(0.7);
}
.services-grid .service-card:nth-child(4)::after {
    /* subtle overlay for legibility on top of the road image */
    background: linear-gradient(180deg, rgba(6,18,34,0.18), rgba(6,18,34,0.32));
}
.services-grid .service-card:nth-child(4)::before {
    /* create an empty base so pseudo-element for badge can be positioned */
}
.services-grid .service-card:nth-child(4) {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.services-grid .service-card:nth-child(4)::after {
    /* keep existing overlay but slightly lighter */
    background: linear-gradient(180deg, rgba(6,18,34,0.12), rgba(6,18,34,0.22));
}
.services-grid .service-card:nth-child(4) .region-badge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex: 0 0 120px;
    background-image: url('../carousel_images/road.webp');
    background-size: cover;
    background-position: center center;
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    border: 6px solid rgba(212,165,116,0.18);
}

/* Improve text contrast when images load */
.services-grid .service-card h3, .services-grid .service-card p { color: #fff; }

/* hover effect: subtly zoom background */
.services-grid .service-card:hover::before { transform: scale(1.06); filter: saturate(1.12) contrast(1.05) brightness(0.66); }


/* ============= CONTACT FORM & BOOKING ============= */
#booking,
#contact {
    background: linear-gradient(135deg, var(--ptr-light-bg) 0%, var(--ptr-white) 100%);
}

form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ptr-primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--ptr-border);
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--ptr-dark-text);
    transition: var(--transition);
    background: var(--ptr-white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--ptr-secondary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input[type="submit"],
button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--ptr-secondary) 0%, #c89856 100%);
    color: var(--ptr-white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
}

input[type="submit"]:hover,
button:hover {
    background: linear-gradient(135deg, var(--ptr-accent-green) 0%, #7a8b73 100%);
    transform: translateY(-2px);
    box-shadow: var(--ptr-shadow-hover);
}

input[type="submit"]:active,
button:active {
    transform: translateY(0);
}

/* Form messages */
.thankyouemailgotsent {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    color: #2e7d32;
    border-radius: 4px;
    animation: slideInDown 0.5s ease;
}

.oops_email_failed_to_send {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    background: #ffebee;
    border-left: 5px solid #f44336;
    color: #b71c1c;
    border-radius: 4px;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============= RAFFLE SECTION ============= */
.raffle-banner {
    background: linear-gradient(135deg, var(--ptr-primary) 0%, #34495e 100%);
    color: var(--ptr-white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.raffle-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
}

.raffle-banner h2 {
    color: var(--ptr-secondary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.raffle-banner p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.raffle-banner a {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--ptr-secondary);
    color: var(--ptr-primary);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.raffle-banner a:hover {
    background: var(--ptr-accent-green);
    color: var(--ptr-white);
    transform: scale(1.05);
}

/* Main-site simulator embed */
.unity-portal {
    background: #fff;
    border: 1px solid #e8d9cc;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.2rem;
}

.unity-frame {
    width: 100%;
    min-height: 560px;
    border: 1px solid #d6c1ae;
    border-radius: 8px;
    background: #111;
}

/* ============= FOOTER ============= */
footer {
    background: var(--ptr-primary);
    color: var(--ptr-white);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

footer .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 50px;
    color: var(--ptr-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

footer .social-link:hover {
    background: var(--ptr-secondary);
    color: var(--ptr-primary);
    transform: translateY(-2px);
}

footer .social-link i {
    font-size: 1.1rem;
}

/* ============= PAGE-SPECIFIC STYLES ============= */
.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.page-glass {
    background: var(--ptr-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--ptr-shadow);
}

.back {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--ptr-light-bg);
    color: var(--ptr-secondary);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.back:hover {
    background: var(--ptr-secondary);
    color: var(--ptr-primary);
}

.page-glass h2 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ptr-secondary);
}

.page-glass ul {
    list-style-position: inside;
    line-height: 2;
    margin: 1rem 0;
}

.page-glass ul li {
    margin-bottom: 0.5rem;
}

.page-glass ul ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

/* ============= PHONE NUMBER OBFUSCATION ============= */
.phonespin {
    font-family: 'Courier New', monospace;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.phonespin:hover {
    color: var(--ptr-secondary);
}

.phonespin.revealed {
    color: var(--ptr-secondary);
    font-weight: 600;
}

/* ============= ABOUT SECTION ============= */
#about {
    background: linear-gradient(135deg, var(--ptr-primary) 0%, #34495e 100%);
    color: var(--ptr-white);
}

#about h2 {
    color: var(--ptr-secondary);
}

#about p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    header img {
        width: 80px;
        height: 80px;
    }

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

    section {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    header {
        padding: 2rem 1rem;
    }

    header h1 {
        gap: 1rem;
    }

    header img {
        width: 70px;
        height: 70px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonials-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    form {
        max-width: 100%;
    }

    .lightbox img {
        max-width: 100vw;
        max-height: 80vh;
    }

    .raffle-banner {
        padding: 2rem 1rem;
    }

    footer {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    header h1 {
        flex-direction: column;
    }

    header img {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    nav a {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .slick-prev,
    .slick-next {
        width: 40px !important;
        height: 40px !important;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    footer .social-links {
        gap: 0.5rem;
    }

    footer .social-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ============= UTILITY CLASSES ============= */
.text-center {
    text-align: center;
}

.text-secondary {
    color: var(--ptr-secondary);
}

.text-primary {
    color: var(--ptr-primary);
}

.text-accent {
    color: var(--ptr-accent-green);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

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

/* Helper to hide elements on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}
