/* Theme styles (custom) */

:root {
    --primary-color: #c9a96e;
    --primary-dark: #a88950;
    --secondary-color: #2d3436;
    --accent-color: #e17055;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --success-color: #00b894;
    --error-color: #d63031;

    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Default: All Font Awesome icons use primary color */
.fas, .far, .fab, .fal, .fad,
i[class*="fa-"] {
    color: var(--primary-color);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    background: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(201, 169, 110, 0.6);
    outline-offset: 2px;
    border-radius: 6px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: #fff;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    z-index: 2000;
}

.skip-link:focus {
    left: 16px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: block;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.navbar-brand .logo {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.logo-link {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta.active {
    background: var(--primary-dark);
    color: white;
}

.nav-user {
    position: relative;
}

.nav-user-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

.nav-user-button i {
    font-size: 1.1rem;
}

.nav-user-caret {
    font-size: 0.8rem;
}

.nav-user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    min-width: 180px;
    padding: 0.5rem;
    display: none;
    z-index: 1001;
}

.nav-user.open .nav-user-menu {
    display: block;
}

.nav-user-menu li a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: var(--text-dark);
}

.nav-user-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all var(--transition-speed);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-speed);
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('../images/heroimage2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #667eea;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    transition: transform var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Popular Services Section */
.popular-services {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Home Gallery */
.home-gallery {
    padding: 80px 0;
    background: var(--bg-white);
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.home-gallery-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: grid;
}

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

.home-gallery-card span {
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
}

.services-page .service-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.5rem;
    height: 100%;
    min-height: 230px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-card .price {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.services-page .service-card .category {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.services-page .service-card .duration {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.services-page .service-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Privacy Page */
.privacy-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.privacy-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow-lg);
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.privacy-card h2 {
    margin-top: 2rem;
}

.privacy-card h2:first-of-type {
    margin-top: 0;
}

.privacy-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
}

/* Requirements Section */
.requirements-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.requirements-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow-lg);
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.requirements-card h2 {
    margin-bottom: 0.75rem;
}

.requirements-card p {
    margin-bottom: 2rem;
}

.requirements-list {
    counter-reset: section;
    display: grid;
    gap: 1.5rem;
}

.requirements-item {
    display: grid;
    gap: 0.75rem;
}

.requirements-item > h3::before {
    counter-increment: section;
    content: counter(section) ". ";
    color: var(--primary-color);
    font-weight: 700;
}

.requirements-item ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.requirements-item li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Forms (bridge) */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.alert-success {
    background: rgba(0, 184, 148, 0.12);
    border: 1px solid rgba(0, 184, 148, 0.3);
    color: var(--text-dark);
}

.alert-danger {
    background: rgba(214, 48, 49, 0.12);
    border: 1px solid rgba(214, 48, 49, 0.3);
    color: var(--text-dark);
}

/* Auth Pages */
.auth-hero {
    position: relative;
    padding: 80px 0;
    background: radial-gradient(circle at top, rgba(201, 169, 110, 0.18), transparent 50%),
        linear-gradient(135deg, #fdf8ef 0%, #ffffff 60%);
    overflow: hidden;
}

.auth-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../images/heroimage2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.auth-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    z-index: 1;
}

.auth-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.auth-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(201, 169, 110, 0.15);
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.auth-hero-highlights {
    display: grid;
    gap: 1rem;
}

.auth-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.auth-highlight i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    color: var(--primary-color);
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(31, 41, 55, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.15);
    width: 100%;
    max-width: 460px;
    justify-self: end;
}

.auth-card-header h2 {
    margin-bottom: 0.4rem;
}

.auth-card-header p {
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

.auth-grid-full {
    grid-column: 1 / -1;
}

.auth-form-grid .form-group {
    margin-bottom: 0;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
}

.auth-link {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-link a {
    color: var(--primary-color);
    font-weight: 600;
}

.demo-credentials {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(201, 169, 110, 0.08);
    border-radius: 12px;
    font-size: 0.9rem;
}

.demo-credentials-card {
    border: 1px solid rgba(201, 169, 110, 0.25);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.form-error-message {
    display: none;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(214, 48, 49, 0.12);
    border: 1px solid rgba(214, 48, 49, 0.3);
    color: var(--text-dark);
    font-weight: 600;
}

.form-error-message.visible {
    display: block;
}

.input-error {
    border-color: rgba(214, 48, 49, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1) !important;
}

@media (max-width: 768px) {
    .auth-hero {
        padding: 60px 0;
    }

    .auth-hero-content h1 {
        font-size: 2.2rem;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .auth-card {
        max-width: 420px;
        padding: 1.75rem;
    }

    .auth-hero-content h1 {
        font-size: 2.4rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero { height: 500px; }
    .hero-title { font-size: 2.5rem; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--box-shadow);
        transition: left var(--transition-speed);
        gap: 1rem;
    }

    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* Gallery Page */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    outline: none;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.filter-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    opacity: 1;
    transition: all 0.5s ease;
    display: block;
}

.gallery-item.hidden {
    display: none !important;
    opacity: 0;
}

.gallery-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.3) 100%);
    padding-bottom: 2rem;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.view-larger {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    position: relative;
}

.lightbox-image {
    width: 900px;
    height: 600px;
    max-width: 90vw;
    max-height: 70vh;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin: 0 auto 20px;
    border-radius: 10px;
}

.lightbox-caption {
    color: white;
    padding: 20px;
    text-align: center;
}

.lightbox-caption h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 10px;
    background: none;
    border: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    transform: scale(1.2) rotate(90deg);
}

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

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-section { padding: 60px 0; }
    .gallery-filters { gap: 0.5rem; }
    .filter-btn { padding: 0.5rem 1.5rem; font-size: 0.9rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
    .gallery-image { height: 300px; }
    .lightbox-image { width: 90vw; height: 60vh; }
    .lightbox-close { top: 10px; right: 20px; font-size: 30px; }
    .lightbox-caption h3 { font-size: 1.5rem; }
    .lightbox-caption p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Contact Page */
.contact-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2rem;
}

.contact-info-section,
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(31, 41, 55, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-content h3 {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.detail-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.detail-content p a {
    color: var(--text-dark);
    font-weight: 600;
}

.detail-content p a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    margin-bottom: 0;
}

.form-actions {
    flex-wrap: wrap;
}

.social-links-large {
    display: grid;
    gap: 0.6rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all var(--transition-speed);
}

.social-btn:hover {
    background: var(--primary-color);
    color: white;
}

.map-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.map-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    height: 360px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.map-content h3 {
    font-size: 1.6rem;
}

.map-content {
    text-align: center;
    color: white;
}

.map-content p {
    color: rgba(255, 255, 255, 0.9);
}

.faq-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.faq-grid {
    gap: 1.5rem;
}

.faq-item {
    border-left-width: 6px;
}

.faq-item h3 {
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Admin Dashboard */
.admin-page {
    padding: 70px 0;
    background: var(--bg-light);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    margin-bottom: 0.25rem;
}

.admin-subtitle {
    color: var(--text-light);
    margin: 0;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 169, 110, 0.15);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--text-dark);
    font-weight: 600;
    background: #fff;
}

.admin-btn.active,
.admin-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(201, 169, 110, 0.12);
    text-align: left;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(201, 169, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.admin-section h2 {
    margin-bottom: 1rem;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(201, 169, 110, 0.12);
    margin-bottom: 1.5rem;
}

.admin-card h3 {
    margin-bottom: 1rem;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-form .form-group {
    margin-bottom: 0;
}

.admin-inline-form {
    display: inline-flex;
}

.admin-inline-form + .admin-inline-form {
    margin-left: 0.5rem;
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(201, 169, 110, 0.6);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: rgba(201, 169, 110, 0.15);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .admin-table-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
.table-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(201, 169, 110, 0.12);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.admin-table th {
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(201, 169, 110, 0.08);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.empty-state {
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed rgba(201, 169, 110, 0.3);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* User Dashboard */
.user-dashboard {
    padding: 70px 0;
    background: var(--bg-light);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.profile-info p {
    margin-bottom: 0.5rem;
}

.member-card {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), #fff 60%);
}

.member-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.member-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-dark);
    font-weight: 500;
}

.member-list i {
    color: var(--primary-color);
}

.member-offers {
    display: grid;
    gap: 1rem;
}

.offer-item {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(201, 169, 110, 0.1);
}

.offer-item h3 {
    margin-bottom: 0.25rem;
}

.member-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.75rem 0 1rem;
}

.member-chip {
    background: #fff;
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-dark);
}

.member-note {
    color: var(--text-light);
    margin: 0;
}

.member-cancel-form {
    margin-top: 1rem;
}

/* Membership */
.membership-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.membership-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(201, 169, 110, 0.12);
    text-align: center;
}

.membership-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-8px);
}

.membership-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.membership-header h2 {
    margin-bottom: 0.25rem;
}

.membership-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.membership-price span {
    font-size: 1rem;
    color: var(--text-light);
}

.membership-subtext {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.membership-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
    color: var(--text-dark);
}

/* About Page */
.our-story {
    padding: 80px 0;
    background: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.story-image {
    border-radius: 15px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mission-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.team-section {
    padding: 80px 0;
    background: white;
}

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

.team-member {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.member-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.member-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member-credentials span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.why-choose-us {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-left: 5rem;
}

.benefit-number {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story-stats {
        grid-template-columns: 1fr;
    }
}

/* Payment */
.payment-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
}

.payment-card,
.payment-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.payment-price {
    font-size: 1.6rem;
    font-weight: 700;
}

.payment-note {
    color: var(--text-light);
}

.payment-disclaimer {
    margin-top: 1rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.profile-avatar {
    margin-bottom: 1rem;
}

.profile-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 169, 110, 0.3);
}

.profile-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Testimonials Slider */
.testimonials-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem 2.5rem;
    box-shadow: var(--box-shadow-lg);
    border: 1px solid rgba(201, 169, 110, 0.15);
    max-width: 720px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
    cursor: grab;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
    gap: 0;
    flex-wrap: nowrap;
    will-change: transform;
}

.testimonials-slider .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 1.25rem 1.5rem;
}

.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--text-dark);
    box-shadow: var(--box-shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.testimonials-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.testimonials-nav.prev {
    left: 0.5rem;
}

.testimonials-nav.next {
    right: 0.5rem;
}

.testimonials-slider:active {
    cursor: grabbing;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(201, 169, 110, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.testimonials-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}
