*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Playfair Display', serif;
    background:#0f0f0f;
    color:white;
}

/* NAVBAR */

header{
    position:fixed;
    top:0;
    width:100%;
    padding:20px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,0,0,0.3);
    backdrop-filter:blur(10px);
    z-index:10;
}

nav a{
    color:white;
    margin-left:30px;
    text-decoration:none;
    font-size:15px;
    letter-spacing:1px;
}

/* HERO */

/* Hero Section */
.hero{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    color:white;
}

.hero-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
}

.hero-bg img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    top:0;
    left:0;
    opacity:0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg img.active{
    opacity:0.35; /* Faded so text is readable */
}

/* Overlay */
.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index:1;
}

/* Hero Content */
.hero-content{
    position:relative;
    z-index:2;
}

.hero-content h1{
    font-size:70px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:40px;
    opacity:0.9;
}

/* BUTTONS */

.btn-primary{
    background:#c59d5f;
    padding:14px 32px;
    border-radius:30px;
    text-decoration:none;
    color:white;
    margin-right:15px;
}

.btn-secondary{
    border:1px solid white;
    padding:14px 32px;
    border-radius:30px;
    text-decoration:none;
    color:white;
}

/* ABOUT */

.about{
    padding:120px 20px;
    text-align:center;
    max-width:900px;
    margin:auto;
}

.about h2{
    font-size:40px;
    margin-bottom:20px;
}

/* GALLERY */

.gallery{
    padding:80px 40px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.grid img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:8px;
    transition:transform 0.4s;
}

.grid img:hover{
    transform:scale(1.05);
}

/* Auth page styling */
.auth-container{
    max-width:400px;
    margin:120px auto;
    background: rgba(255,255,255,0.05);
    padding:40px;
    border-radius:12px;
    text-align:center;
    color:white;
    box-shadow:0 8px 30px rgba(0,0,0,0.4);
}

.auth-container h2{
    margin-bottom:25px;
    font-size:32px;
}

.auth-container input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:none;
    border-radius:6px;
}

.auth-container button{
    width:100%;
    padding:12px;
    margin-top:15px;
    border:none;
    border-radius:6px;
    background:#c59d5f;
    color:white;
    font-size:16px;
    cursor:pointer;
}

.auth-container .error{
    color:#ff6b6b;
    margin-bottom:15px;
}

.auth-container .success{
    color:#6bff75;
    margin-bottom:15px;
}

/* Pricing Section */
.pricing-section{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:120px 20px;
    text-align:center;
}

.pricing-section h2{
    font-size:40px;
    margin-bottom:60px;
    color:white;
}

/* Pricing cards container */
.pricing-cards{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:40px;
}

/* Individual card */
.card{
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding:40px 25px;
    border-radius:15px;
    width:300px;
    box-shadow:0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:white;
}

.card:hover{
    transform: translateY(-8px);
    box-shadow:0 20px 50px rgba(0,0,0,0.7);
}

.card.featured{
    border:2px solid #c59d5f;
}

.card h3{
    font-size:28px;
    margin-bottom:15px;
}

.card .price{
    font-size:24px;
    font-weight:bold;
    margin-bottom:20px;
}

.card ul{
    list-style: none;
    padding:0;
    margin:0 0 25px 0;
    text-align:left;
}

.card ul li{
    padding:8px 0;
    position:relative;
}

.card ul li::before{
    content: "✓";
    color: #c59d5f;
    margin-right:10px;
}

/* Card button */
.card .btn-primary{
    padding:12px 25px;
    border-radius:30px;
    background:#c59d5f;
    color:white;
    text-decoration:none;
    font-size:16px;
    transition: background 0.3s;
}

.card .btn-primary:hover{
    background:#b3884a;
}

/* Responsive */
@media(max-width:1000px){
    .pricing-cards{
        flex-direction:column;
        align-items:center;
    }
}

/* About Page */
.about-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 20px;
    text-align:center;
    color:white;
}

.about-section .container{
    max-width:800px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding:50px 30px;
    border-radius:15px;
    box-shadow:0 10px 40px rgba(0,0,0,0.5);
}

.about-section h2{
    font-size:38px;
    margin-bottom:30px;
}

.about-section p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:25px;
}

.about-section .btn-primary{
    padding:12px 30px;
    border-radius:30px;
    background:#c59d5f;
    color:white;
    text-decoration:none;
    font-size:16px;
    transition: background 0.3s;
}

.about-section .btn-primary:hover{
    background:#b3884a;
}

/* Responsive */
@media(max-width:768px){
    .about-section .container{
        padding:40px 20px;
    }

    .about-section h2{
        font-size:32px;
    }

    .about-section p{
        font-size:16px;
    }
}

/* Auth links (signup/login) */
.auth-container a{
    color: #f5d6a0;  /* bright gold-ish color for contrast */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-container a:hover{
    color: #ffffff; /* turn white on hover for clarity */
}

/* Disclaimer text under username */
.auth-container .disclaimer{
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: left;
}

/* Reusable featured gold border */
.featured{
    border: 2px solid #c59d5f;
    box-shadow: 0 0 20px rgba(197, 157, 95, 0.4);
}

/* Dashboard Layout */
.dashboard{
    display:flex;
    min-height:100vh;
    color:white;
}

/* Sidebar */
.sidebar{
    width:260px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(12px);
    padding:30px 20px;
    border-right:1px solid rgba(255,255,255,0.1);
}

.sidebar h2{
    margin-bottom:30px;
    font-size:20px;
    color:#c59d5f;
}

/* Nav links updated for <ul class="nav-links"> */
.nav-links{
    list-style:none;
    padding:0;
}

.nav-links li{
    margin-bottom:5px;
    cursor:pointer;
    border-radius:6px;
    transition: all 0.3s;
}

.nav-links li a{
    display:block;
    padding:12px 18px;
    color:white;
    text-decoration:none;
    font-weight:bold;
    border-radius:6px;
    transition: all 0.3s;
}

.nav-links li a:hover{
    background: rgba(255,255,255,0.1);
    color:white;
}

.nav-links li.active a{
    background:#c59d5f;
    color:black;
}

.nav-links .logout a{
    color:#ff6b6b;
}

/* Content */
.dashboard-content{
    flex:1;
    padding:50px;
}

/* Tabs */
.tab{
    display:none;
}

.tab.active{
    display:block;
}

/* Headings */
.dashboard-content h1{
    font-size:36px;
    margin-bottom:20px;
}

/* Optional card styling inside tabs */
.dashboard-content p{
    opacity:0.85;
}

.events-table .thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    display: block;
}

.profile-table tbody tr:nth-child(even) {
    background-color: #000;
    color: #fff;
}

.profile-table tbody tr:nth-child(odd) {
    background-color: #333;
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #000;
    opacity: 0.5;
    
}

/* Optional: for older browsers */
input::-webkit-input-placeholder { color: #000; opacity: 0.5; }
input::-moz-placeholder { color: #000; opacity: 0.5; }
input:-ms-input-placeholder { color: #000; opacity: 0.5; }
input:-moz-placeholder { color: #000; opacity: 0.5; }

textarea::-webkit-input-placeholder { color: #000; opacity: 0.5; }
textarea::-moz-placeholder { color: #000; opacity: 0.5; }
textarea:-ms-input-placeholder { color: #000; opacity: 0.5; }
textarea:-moz-placeholder { color: #000; opacity: 0.5; }

/* Buttons gradients */
.btn-primary {
    background: linear-gradient(135deg, #c59d5f, #a67c3b);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e0b874, #8c6a2f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #1a2a44, #0d1b2a);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e0b874, #8c6a2f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-secondary:active {
    transform: scale(0.97);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Profile tables */
.profile-table button {
    min-width: 180px;
}
.profile-table th {
    vertical-align: middle;
}
form {
    margin: 0;
}

.events-table tbody tr:nth-child(even) {
    background-color: #000;
    color: #fff;
}

.events-table tbody tr:nth-child(odd) {
    background-color: #333;
    color: #fff;
}

/* Footer */
.site-footer {
    background: #0f0f0f;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 5;
}

.site-footer .footer-content {
    max-width: 1100px;
    margin: auto;
}

.site-footer .footer-content p {
    margin: 0 0 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: #c59d5f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

.site-footer .footer-links a:hover {
    color: #f5d6a0;
    transform: translateY(-2px);
}

/* Optional: small responsive tweaks */
@media (max-width: 600px) {
    .site-footer .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        margin-top: 45px;
    }

    .sidebar h2 {
        text-align: center;
        margin-bottom: 10px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .nav-links li {
        display: inline-block;
        margin: 5px 10px;
        font-size: 14px;
    }

    .dashboard-content {
        width: 100%;
        padding: 15px;
    }
}


.events-table {
    border-collapse: collapse;
    width: 95%;
}

/* Gold card wrapper */
.event-card {
    border: 2px solid #d4af37; /* gold border */
    border-radius: 10px;
    padding: 0;
    margin-bottom: 10px; /* black gap between cards */
    display: block;
    overflow: hidden; /* ensures border-radius applies to inner content */
    color: white;
}

/* Alternating background inside the gold card */
.events-table tr:nth-child(odd) .event-card {
    background-color: #1a1a1a; /* black */
}

.events-table tr:nth-child(even) .event-card {
    background-color: #2c2c2c; /* dark gray */
}

.event-title {
    display: flex;
    align-items: center;  /* vertically centers text and form */
    justify-content: space-between; /* title on left, form on right */
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px;
    border-bottom: 2px solid #d4af37;
    gap: 10px; /* optional space between title and form */
}


.event-title .rename-form input[type="text"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}


/* Event content */
.event-content {
    display: flex;
    gap: 20px;
    padding: 15px;
    flex-wrap: wrap;
}

/* Columns inside event */
.event-col {
    flex: 1;
    text-align: center;
}

/* Thumbnail inside content */
.event-col img.thumb {
    max-width: 100%;
    border-radius: 6px;
}

.watermark {
    padding: 20px;
    text-align: center;
    cursor: pointer;

    background-color: #fff;
    background-image: 
        linear-gradient(45deg, #ccc 25%, transparent 25%), 
        linear-gradient(-45deg, #ccc 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #ccc 75%), 
        linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    max-height: 140px;
    margin-top: 10px;
    background: #fff; /* 👈 ensures transparent PNG shows correctly */
    padding: 5px; /* optional: gives it some breathing room */
}

.wm-preview {
    background: #fff;
    padding: 12px;
    display: inline-block;
    border-radius: 6px;

    /* 👇 THIS creates the pop-out effect */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wm-preview:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.wm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0,0,0,0.95);
}

.wm-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.wm-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}



.membership-option {
    display: grid;                
    grid-template-columns: auto 1fr; 
    align-items: center;          
    width: 95%;                   
    background-color: #000;       
    color: #fff;                  
    padding: 10px;                
    margin-bottom: 10px;          
    border: 1px solid #444;       
    border-radius: 6px;           
    cursor: pointer;              
    box-sizing: border-box;
    transition: background-color 0.2s; /* smooth highlight */
}

.membership-option input[type="radio"] {
    margin-right: 10px;           
}

.membership-option input[type="radio"]:checked + * {
    /* nothing needed here for now */
}

/* Highlight the label when its radio is checked */
.membership-option input[type="radio"]:checked {
    outline: none;
}

.membership-option input[type="radio"]:checked + span,
.membership-option input[type="radio"]:checked + text {
    /* handled by parent label */
}

/* Parent label highlight */
.membership-option input[type="radio"]:checked {
    /* Using CSS selector to target parent label is tricky */
}

/* Correct way: use :has (modern browsers) */
.membership-option:has(input[type="radio"]:checked) {
    background-color: #222;  /* slightly lighter black for highlight */
    border-color: #fff;       /* optional border highlight */
}

.wmPreviewImg {
    cursor: pointer;
}

.wm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0,0,0,0.9);
}

.wm-modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
}

.wm-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}