/* --- GLOBAL BACKGROUND & FONT --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Strictly prevents horizontal white margins */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #000;
    background-image: url('images/webpagebackground.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER & NAV (More Transparent) --- */
header, .header-top, nav {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
header { flex-direction: column; padding: 20px; }
.header-top { padding: 20px; }
.logo-container img { max-width: 256px; height: auto; }

nav { padding: 15px 0; }
/* Menu items perfectly spread across the container */
nav ul { list-style: none; display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 980px; width: 100%; }
nav ul li { position: relative; }
nav ul li a { text-decoration: none; color: #000; font-size: 14px; padding: 5px 8px; transition: color 0.3s; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
nav ul li a:hover, nav ul li a.active { color: #5a7336; }

/* Dropdown */
.dropdown-content { display: none; position: absolute; background: rgba(255,255,255,0.9); box-shadow: 0px 8px 16px rgba(0,0,0,0.1); min-width: 220px; z-index: 10; top: 100%; left: 0; border-radius: 4px; overflow: hidden; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 10px; border-bottom: 1px solid #eee; }

/* --- HERO SECTION (Index Page Specific) --- */
.hero { display: flex; justify-content: center; align-items: center; min-height: 65vh; padding: 40px 20px;}
.hero-overlay { display: none; }

/* The See-Through Glass Box */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Restored Font Sizes for the Hero Text */
.hero-title-large {
    font-family: 'Josefin Slab', serif;
    font-size: 54px;
    color: #000;
    margin-bottom: 5px;
}

.hero-title-small {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: #222;
    max-width: 650px;
    margin-bottom: 15px;
}

/* --- SUBPAGE MAIN CONTENT BOXES --- */
main {
    flex: 1;
    width: 100%;
    max-width: 1080px;
    margin: 40px auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.45); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .plan-title, .brand-title, .service-title { font-family: 'Josefin Slab', serif; color: #000; font-weight: 400; }
.page-header { text-align: center; margin-bottom: 50px; }
.page-header h1, h1.gold-heading, h1.green-heading { font-size: 46px; margin-bottom: 10px; }
.page-header h2 { font-family: 'Open Sans', sans-serif; font-size: 16px; color: #333; letter-spacing: 4px; text-transform: uppercase; }
p { line-height: 1.6; margin-bottom: 20px; color: #222; }

/* --- SEMI-TRANSPARENT BUTTONS --- */
.btn-book, .btn-select, .btn-submit, .btn-email, .btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #000;
    border: 1px solid #000;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-align: center;
    cursor: pointer;
}
.btn-book:hover, .btn-select:hover, .btn-submit:hover, .btn-email:hover, .btn:hover { background-color: #000; color: #fff; }

/* --- GRIDS & CARDS --- */
.services-grid, .pricing-grid, .brands-grid, .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.service-card, .plan-card, .brand-card, .card, .pillar, .program { 
    background: rgba(255,255,255,0.4); 
    border: 1px solid rgba(255,255,255,0.6); 
    border-radius: 12px; 
    padding: 30px 20px; 
    text-align: center; 
    transition: transform 0.3s ease; 
}
.service-card:hover, .plan-card:hover, .brand-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); background: rgba(255,255,255,0.6); }

/* --- IMAGES INSIDE CARDS --- */
.service-img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 15px;}
.brand-image { width: 121px; height: 121px; object-fit: cover; border-radius: 50%; margin: 0 auto 20px auto; border: 1px solid #fff; }

/* --- FOOTER --- */
footer { margin-top: auto; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 20px; display: flex; justify-content: space-between; align-items: center; max-width: 980px; margin-left: auto; margin-right: auto; width: 100%; border-top: 1px solid rgba(255,255,255,0.3); border-radius: 24px 24px 0 0;}
.social-icons { display: flex; gap: 15px; }
.social-icons img, .social-icons svg { width: 30px; height: 30px; fill: #000; }