@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    /* brand palette, spacing, radii, shadows, transitions … (unchanged) */
    --primary-color: #e05600;
    --primary-dark: #b34500;
    --primary-light: #ff7b3d;
    --primary-gradient: linear-gradient(135deg, #ff6019 0%, #ff7b3d 100%);
    --dark-color: #1a1a1a;
    --text-color: #565656;
    --text-dark: #3f3f3f;
    --text-light: #8a8a8a;
    --bg-light: #f9f9f9;
    --bg-white: #fff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --transition-fast: all .2s ease;
    --transition-normal: all .3s ease;
    --transition-slow: all .5s cubic-bezier(.175, .885, .32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.7em;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5em;
    letter-spacing: -0.5px;
    margin-bottom: 0.8em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
    border-radius: 3px;
}

section:hover h2::after {
    width: 100px;
}

h3 {
    font-size: 1.6em;
    margin-top: 1.2em;
    color: #2c2c2c;
}

p {
    margin-bottom: 1.2em;
    font-size: 1.05em;
    max-width: 80ch;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    font-weight: 500;
}

a:not(.call-button):after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

a:not(.call-button):hover:after {
    width: 100%;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    padding-left: 1.4em;
    margin-bottom: 1.5em;
}

li {
    margin-bottom: 0.9em;
    line-height: 1.7;
}

strong {
    font-weight: 700;
    color: #ff7b3d;
}

section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6em 2em;
    position: relative;
}

/* Consistent container for section content */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Add some space between sections */
section+section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header and Navigation */
:root {
    --header-height: 85px;
}

header {
    /* Lightened background for better logo contrast */
    background: transparent;
    /* rgba(20, 20, 20, 0.02); */
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 0;
}

header .top-bar {
    background: var(--primary-gradient);
    color: #fff;
    text-align: right;
    padding: 0.45em 2em;
    font-size: 0.9em;
    font-weight: 400;
    letter-spacing: 1px;
}

header .top-bar .contact-info a {
    color: #fff;
    margin-left: 1em;
    position: relative;
}

header .top-bar .contact-info a::after {
    display: none;
}

nav#main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 2em;
}

nav .logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--primary-light);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

nav .logo:hover {
    transform: scale(1.05) rotate(1deg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

nav .logo-img {
    height: 3.2em;
    margin-right: 0.75em;
    transition: transform 0.3s ease;
}

nav .logo:hover .logo-img {
    transform: translateY(-2px) rotate(1deg);
}

.menu-toggle {
    background: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.4em 0.6em;
    border-radius: 4px;
    font-size: 1.4em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: rotate(90deg);
}

/* Mobile menu dropdown when open */
nav#main-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 17, 17, 0.96);
    width: 100%;
    padding: 1.2em 2em;
    border-top: 1px solid #3f3f3f;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeInDown 0.35s ease;
}

/* Hide desktop nav until breakpoint */
nav .nav-links {
    display: none;
}

@media (min-width: 768px) {

    /* Show desktop nav */
    .menu-toggle {
        display: none;
    }

    nav .nav-links {
        display: flex;
        gap: 1.5em;
    }

    nav .nav-links a {
        position: relative;
        padding: 0.5em 0;
        font-weight: 500;
        letter-spacing: 0.4px;
        transition: color 0.3s ease;
    }

    nav .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-light);
        border-radius: 2px;
        transform: translateX(-50%);
        transition: width 0.3s ease, background 0.3s ease;
    }

    nav .nav-links a:hover::after,
    nav .nav-links a.active::after {
        width: 60%;
    }

    nav .nav-links a:hover,
    nav .nav-links a.active {
        color: var(--primary-light);
    }
}

/* Home/Hero Section
   ------------------------------------------------------------------- */
:root {
    --hero-height: 88vh;
    --hero-max-width: 1200px;
    --hero-overlay: rgba(0, 0, 0, .55);
}

/* Layout & background */
#home.home-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: var(--hero-height);
    padding: 7em 1.8em;
    text-align: center;
    color: #fff;

    /* backdrop image + dark gradient fallback */
    background-image:
        url('images/hero-bg.png'),
        linear-gradient(135deg, #1a1a1a 0%, #272727 100%);
    background-size: cover, auto;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .24);
}

/* Subtle net pattern */
#home.home-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml;utf8,\
        <svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'>\
            <g fill='none' stroke='%23ffffff0d' stroke-width='1'>\
                <path d='M80 0 L160 80 L80 160 L0 80 Z'/>\
            </g>\
        </svg>") center/280px repeat;
    opacity: 0.4;
    animation: subtle-drift 60s linear infinite;
    z-index: 1;
}

/* Soft vignette for depth */
#home.home-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--hero-overlay) 75%);
    z-index: 2;
}

/* ---------- Typographic styling ---------- */
#home.home-section h1,
#home.home-section p {
    position: relative;
    z-index: 3;
    max-width: var(--hero-max-width);
}

/* Headline */
#home.home-section h1 {
    font-size: clamp(2.75rem, 6vw + 1rem, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 0 0.6em;
    max-width: 15ch;
    /* keeps lines short & punchy   */
    text-wrap: balance;
    /* gracefully balances lines    */
    text-shadow: 0 4px 14px rgba(0, 0, 0, .6);
    animation: fadeInDown 0.9s ease-in-out both;
}

/* ️⚡ IMPROVED “His & Hers” HIGHLIGHT -------------------------------- */
#home.home-section h1 .highlight {
    /* ① fluid gradient-shift */
    --shift-gradient: linear-gradient(90deg,
            var(--primary-light) 0%,
            var(--primary-color) 50%,
            var(--primary-light) 100%);

    display: inline-block;
    position: relative;
    padding: 0 .25em;
    background: var(--shift-gradient);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 8s linear infinite;

    /* ② crisp lift */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, .25),
        0 6px 16px rgba(0, 0, 0, .14);

    /* ③ gentle emphasis on hover/tap */
    transition: transform .25s ease;
}

#home.home-section h1 .highlight:hover,
#home.home-section h1 .highlight:focus-visible {
    transform: scale(1.035);
}

/* glowing underline accent */
#home.home-section h1 .highlight::after {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 0.12em;
    /* sits just below descenders */
    height: 0.12em;
    border-radius: 4px;
    background: var(--shift-gradient);
    background-size: 400% 100%;
    filter: blur(3px);
    opacity: .55;
    animation: gradientShift 8s linear infinite;
    pointer-events: none;
}

/* Supporting copy */
#home.home-section p {
    font-size: clamp(1.125rem, 1.2vw + 0.9rem, 1.35rem);
    font-weight: 300;
    line-height: 1.9;
    max-width: 60ch;
    margin: 0 auto 2.4em;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
    animation: fadeIn 1.2s ease-in-out both;
}

/* Call-to-action button (unchanged) */
#home.home-section .cta {
    z-index: 3;
}

#home.home-section .call-button {
    --btn-bg: var(--primary-color);
    --btn-bg-hover: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    padding: 1.05em 2.2em;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .4px;
    color: #fff;
    background: var(--btn-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

#home.home-section .call-button:hover {
    background: var(--btn-bg-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .26);
}

#home.home-section .call-button:active {
    transform: translateY(-1px);
}

/* Optional ↓ scroll cue (kept as-is) */
#home.home-section .scroll-indicator {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    width: 26px;
    height: 38px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius: 16px;
    box-sizing: border-box;
    z-index: 3;
}

#home.home-section .scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: #fff;
    border-radius: 50%;
    animation: scroll-dots 2s infinite;
}

/* ---------- Animations ---------- */
@keyframes subtle-drift {
    to {
        transform: translate3d(-160px, -160px, 0);
    }
}

@keyframes gradientShift {
    to {
        background-position: 200% center;
    }
}

@keyframes scroll-dots {

    0%,
    20% {
        opacity: .2;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }

    80%,
    100% {
        opacity: .2;
    }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 600px) {
    #home.home-section {
        padding: 6em 1.3em;
    }

    #home.home-section p {
        font-size: 1.1rem;
    }

    #home.home-section .call-button {
        padding: 0.95em 1.8em;
    }
}

@media (max-width: 420px) {
    #home.home-section h1 {
        font-size: 2.2rem;
    }

    #home.home-section .call-button {
        min-width: 170px;
        font-size: .95rem;
    }
}

/* Fallback when text-wrap: balance isn’t supported */
@supports not (text-wrap: balance) {
    #home.home-section h1 {
        max-width: 20ch;
    }
}


/* Sections: Services, About, Gallery, Reviews, Blog */
section {
    padding: 6em 2em;
    position: relative;
    overflow: hidden;
}

#services,
#about,
#blog {
    background: #fff;
    color: #3f3f3f;
    border-bottom: 1px solid #eee;
}

#services {
    background: linear-gradient(to bottom, #f9f9f9, #fff);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23e0e0e0"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

#services .service-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

#services .service-list li {
    margin-bottom: 0;
    padding: 1.8em;
    background: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    padding-left: 3em;
    border-left: 3px solid transparent;
    height: 100%;
}

#services .service-list li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

#services .service-list li strong {
    font-size: 1.2em;
    display: block;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

#services .service-list li em {
    color: var(--text-light);
    font-style: normal;
    font-weight: 500;
    display: inline-block;
    padding: 0.3em 0.8em;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9em;
    margin-top: 0.5em;
}

#services .service-list li::before {
    content: '✓';
    position: absolute;
    left: 0.8em;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3em;
    top: 1.5em;
}

#services .note {
    font-size: 0.95em;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    padding: 1.5em 1.8em;
    border-radius: var(--border-radius-md);
    border-left: 3px solid var(--primary-color);
    margin-top: 3em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    line-height: 1.7;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

#about {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="10" height="10" fill="%23f8f8f8"/><rect x="10" y="10" width="10" height="10" fill="%23f8f8f8"/></svg>');
}

.about-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2em;
    position: relative;
}

.about-logo {
    width: 80px;
    height: auto;
    border-radius: 8px;
    margin-right: 1.5em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-logo:hover {
    transform: translateY(-3px) rotate(3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-header h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-header h2::after {
    display: none;
}

#about-text {
    padding: 3em;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    font-size: 1.15em;
    line-height: 1.9;
    margin: 0 auto;
    max-width: 800px;
    border-top: 5px solid var(--primary-color);
}

#about strong {
    color: var(--primary-color);
}

#about em {
    font-style: italic;
    font-weight: 600;
}

/* Gallery image tiles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 2em;
    grid-auto-rows: 220px;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--border-radius-md);
    background: #1e1e1e;
    border: 2px solid rgba(255,255,255,.06);
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-grid img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-md);
}

/* Review cards */
.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 2.2em;
}

.review-card {
    position: relative;
    padding: 2.4em 2em;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #f2f2f2;
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.review-card p {
    line-height: 1.7;
}

.review-card .rating {
    display: block;
    margin-top: 1.1em;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: .5px;
}

/* Placeholder boxes inherit section darkness */
.gallery-placeholder,
.reviews-placeholder {
    border-color: rgba(255, 255, 255, .28);
    color: #bbb;
}

#blog {
    position: relative;
}

#blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="52" height="26" viewBox="0 0 52 26" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23f9f9f9" fill-opacity="0.4"><path d="M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z" /></g></g></svg>');
    opacity: 0.3;
}

#blog .blog-post {
    padding: 3em;
    margin-bottom: 3em;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: none;
    background: #fff;
    position: relative;
    overflow: hidden;
}

#blog .blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

#blog .blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.7;
}

#blog .blog-post h3 {
    margin-bottom: 0.5em;
    color: #3f3f3f;
    position: relative;
    padding-bottom: 0.4em;
    font-size: 1.7em;
}

#blog .blog-post h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

#blog .blog-post:hover h3::after {
    width: 100px;
}

#blog .blog-post small {
    color: #888;
    display: block;
    margin-bottom: 1.2em;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    background: #f8f8f8;
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 4px;
}

#blog .blog-post p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05em;
}

#blog-posts-container {
    /* dynamic blog posts will use same styling as .blog-post entries */
}

/* Footer */
footer {
    background: linear-gradient(135deg, #222 0%, #3f3f3f 100%);
    color: #ddd;
    text-align: center;
    padding: 4em 1.5em;
    font-size: 0.95em;
    position: relative;
    border-top: 3px solid var(--primary-color);
    line-height: 1.7;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="%23333333"/></svg>');
    opacity: 0.1;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: bold;
}

footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

footer .admin-link {
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .admin-link a {
    color: #999;
    font-size: 0.9em;
    padding: 0.5em 1.2em;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    display: inline-block;
}

footer .admin-link a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-container {
    max-width: 1000px;
    /* same width as .section-container for visual rhythm */
    margin: 0 auto;
    /* ↑ centers inside the full-width footer strip */
}

/* Admin Panel Styles */
.admin-panel {
    max-width: 900px;
    margin: 4em auto;
    padding: 2.5em;
    background: #f9f9f9;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.admin-logo {
    text-align: center;
    margin-bottom: 1.5em;
}

.admin-logo-img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.admin-logo-img:hover {
    transform: scale(1.05);
}

.admin-panel h1 {
    text-align: center;
    color: #3f3f3f;
    margin-bottom: 1.5em;
    font-size: 2.3em;
    position: relative;
    padding-bottom: 0.5em;
}

.admin-panel h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.admin-panel section {
    margin-bottom: 3em;
    background: #fff;
    padding: 2em;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: none;
}

.admin-panel section:hover {
    box-shadow: var(--shadow-md);
}

.admin-panel h2 {
    color: #565656;
    margin-bottom: 1.2em;
    font-size: 1.6em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #eee;
}

.admin-panel label {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 0.8em;
}

.admin-panel textarea,
.admin-panel input[type="text"],
.admin-panel input[type="password"] {
    width: 100%;
    padding: 1.2em 1.4em;
    margin-bottom: 1.5em;
    font-family: inherit;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    background-color: #f8f8f8;
}

.admin-panel textarea:hover,
.admin-panel input[type="text"]:hover,
.admin-panel input[type="password"]:hover {
    border-color: #ccc;
    background-color: #fff;
}

.admin-panel textarea:focus,
.admin-panel input[type="text"]:focus,
.admin-panel input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 72, 0, 0.1);
    background-color: #fff;
}

.admin-panel button {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 1em 2em;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(193, 72, 0, 0.25);
    letter-spacing: 0.5px;
}

.admin-panel button:hover {
    background: linear-gradient(90deg, #b34200, #c64c00);
    box-shadow: 0 6px 18px rgba(193, 72, 0, 0.3);
    transform: translateY(-2px);
}

.admin-panel button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(193, 72, 0, 0.15);
}

.status-message {
    font-weight: bold;
    margin-top: 1em;
    padding: 0.8em 1.2em;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

#about-status,
#post-status {
    color: #006600;
    /* success message in green */
    background: rgba(0, 102, 0, 0.05);
    border-left: 3px solid #006600;
}

.error-message {
    color: #cc0000;
    background: rgba(204, 0, 0, 0.05);
    border-left: 3px solid #cc0000;
}

#posts-list {
    padding: 1.5em;
    background: #fff;
    border-radius: var(--border-radius-sm);
    border: 1px solid #eee;
    max-height: 300px;
    overflow-y: auto;
}

#posts-list ul {
    list-style: disc;
    margin-left: 1.2em;
}

#posts-list li {
    padding: 0.7em 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Login Form Styles */
.login-form {
    max-width: 450px;
    margin: 8em auto 5em;
    padding: 3em;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #3f3f3f;
    margin-bottom: 1.8em;
    letter-spacing: -0.5px;
}

.login-logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 0.8em;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.login-logo-img:hover {
    transform: scale(1.05);
}

.login-logo span {
    color: var(--primary-color);
}

.login-form h1 {
    margin-bottom: 1.5em;
    font-size: 2em;
    position: relative;
    padding-bottom: 0.5em;
}

.login-form h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.login-form .form-group {
    margin-bottom: 1.8em;
    text-align: left;
    position: relative;
    transition: var(--transition-normal);
}

.login-form .form-group.focused {
    transform: translateY(-2px);
}

.login-form label {
    display: block;
    margin-bottom: 0.8em;
    font-weight: 600;
    color: #565656;
    font-size: 0.95em;
}

.login-form input {
    width: 100%;
    padding: 1.2em 1.5em;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    font-size: 1em;
    transition: var(--transition-normal);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    background-color: #f8f8f8;
}

.login-form input:hover {
    border-color: #ccc;
    background-color: #fff;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 72, 0, 0.1);
    background-color: #fff;
}

.login-form .error-message {
    margin-bottom: 1.8em;
    color: #cc0000;
    font-size: 0.95em;
    padding: 1em 1.2em;
    background-color: rgba(204, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    border-left: 3px solid #cc0000;
    text-align: left;
}

.login-form button {
    width: 100%;
    margin-top: 1.5em;
    padding: 1.2em;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(193, 72, 0, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.login-form button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.6s ease;
}

.login-form button:hover::after {
    width: 100%;
}

.login-form button.loading {
    background: #999;
    pointer-events: none;
}

.login-form button.loading::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

.login-form button.loading span,
.login-form button.loading .login-arrow {
    opacity: 0;
}

.login-form button.success {
    background: #4CAF50;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login-form button:hover {
    background: linear-gradient(90deg, #b34200, #c64c00);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 72, 0, 0.3);
}

.login-form button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(193, 72, 0, 0.2);
}

.login-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.login-form button:hover .login-arrow {
    transform: translateX(4px);
}

.login-form .back-link {
    display: block;
    margin-top: 2.5em;
    color: #777;
    font-size: 0.95em;
    transition: var(--transition-fast);
}

.login-form .back-link:hover {
    color: #565656;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .home-section h1 {
        font-size: 2.8em;
    }

    .home-section p {
        font-size: 1.1em;
    }

    .call-button {
        padding: 0.9em 1.6em;
        font-size: 0.95em;
    }

    section {
        padding: 4em 1.5em;
    }

    #services .service-list {
        grid-template-columns: 1fr;
    }

    .about-header {
        flex-direction: row;
        align-items: center;
    }

    .about-logo {
        width: 60px;
        margin-right: 1em;
    }

    #about-text {
        padding: 2em;
        font-size: 1.05em;
    }

    #blog .blog-post {
        padding: 2em;
    }

    .admin-panel {
        padding: 2em 1.5em;
    }

    .login-form {
        padding: 2.5em 1.8em;
        margin: 6em auto 4em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .home-section h1 {
        font-size: 2.3em;
    }

    .home-section {
        padding: 6em 1.2em;
    }

    .call-button {
        padding: 0.8em 1.4em;
        font-size: 0.9em;
        letter-spacing: 0.2px;
    }

    #services .note {
        padding: 1.2em;
    }

    .login-form {
        margin: 4em auto 3em;
        padding: 2em 1.5em;
    }
}

/* ===== New dynamic section styles ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 2em;
}

.gallery-grid img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 2em;
}

.review-card {
    background: #fff;
    color: #3f3f3f;
    padding: 2em;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-card .rating {
    margin-top: 1em;
    color: var(--primary-color);
}

/* Admin tables & thumbs */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border: 1px solid #eee;
    padding: 0.6em 0.8em;
    text-align: left;
    font-size: 0.9em;
}

.photo-thumb {
    position: relative;
    display: inline-block;
    margin: 4px;
}

.photo-thumb img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.photo-thumb button {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #900;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 0.8em;
    line-height: 18px;
}

.review-admin-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 0.8em 1em;
    border-radius: 6px;
    margin-bottom: 8px;
}

#home.home-section h1 {
    color: #cfcfcf;
}

nav#main-nav {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav#main-nav .logo-img {
    background-color: var(--bg-white);
    padding: 0.2em;
    /* adjust to taste */
    border-radius: var(--border-radius-sm);
}

/* Alternating backgrounds for clarity */
section.bg-light {
    background: var(--bg-light);
}

section.bg-white {
    background: var(--bg-white);
}

/* Ensure alternating sections (Services, Gallery, Blog white; About, Reviews gray) */
#services,
#gallery,
#admin-blog {
    background: var(--bg-white);
}

#about,
#reviews {
    background: var(--bg-light);
}

/* Responsive adjustments (example) */
@media (max-width: 768px) {
    .section-container {
        padding: 2em 1em;
        /* reduce padding on smaller screens */
    }

    header nav#main-nav ul.nav-links {
        flex-direction: column;
    }
}