/* 
Cold Brew Snob - Main Stylesheet
--------------------------------
Colors:
- Dark Brown: #3C2A21 (text, headings)
- Medium Brown: #6D4C3D (accents)
- Light Brown: #A67C52 (buttons, highlights)
- Cream: #F2EAE3 (background, cards)
- Dark Cream: #E6DFD4 (alternate backgrounds)
- Off White: #FFFAF5 (main background)
- Highlight: #D4A976 (hover effects)
*/

/* Base Styles */
:root {
    --dark-brown: #3C2A21;
    --medium-brown: #6D4C3D;
    --light-brown: #A67C52;
    --cream: #F2EAE3;
    --dark-cream: #E6DFD4;
    --off-white: #FFFAF5;
    --highlight: #D4A976;
}

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

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-brown);
    background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

a {
    color: var(--medium-brown);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--light-brown);
    text-decoration: underline;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.site-header {
    background-color: var(--cream);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 15px;
}

.site-logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

.site-logo:hover {
    text-decoration: none;
}

.logo-image {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover .logo-image {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--dark-brown);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--light-brown);
    transition: width 0.3s;
}

.main-nav a:hover {
    text-decoration: none;
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-brown);
}

/* Hero Section */
.hero {
    background-color: var(--dark-cream);
    padding: 4rem 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.hero-enhanced {
    background-image: url('../images/backgrounds/hero-bg.svg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 250, 245, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-brown);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--medium-brown);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--medium-brown);
}

.hero-feature i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--light-brown);
    background-color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.hero-feature:hover i {
    transform: translateY(-5px);
}

.hero-feature span {
    font-weight: 600;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--cream);
    border-radius: 50px;
    background-color: white;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--light-brown);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--light-brown);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: var(--highlight);
}

/* Featured Reviews */
.featured-reviews, .latest-reviews {
    margin-bottom: 4rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.brand-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-name {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dark-brown);
}

.brand-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--light-brown);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-decoration: none;
}

.brand-link:hover {
    background-color: var(--highlight);
    text-decoration: none;
    color: white;
}

/* Featured Review Highlight */
.featured-review-highlight {
    margin-bottom: 3rem;
}

.featured-review-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.featured-review-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.featured-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-review-card:hover .featured-review-image img {
    transform: scale(1.05);
}

.featured-review-content {
    padding: 2rem;
}

.featured-review-header {
    margin-bottom: 1.5rem;
}

.featured-review-full-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.featured-review-meta {
    margin-bottom: 1.5rem;
}

.featured-review-section {
    margin-bottom: 1.5rem;
}

.featured-review-section h4 {
    font-size: 1.1rem;
    color: var(--medium-brown);
    margin-bottom: 0.5rem;
}

.featured-review-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.featured-review-pros h4, 
.featured-review-cons h4 {
    font-size: 1.1rem;
    color: var(--medium-brown);
    margin-bottom: 0.5rem;
}

.featured-review-pros ul,
.featured-review-cons ul {
    padding-left: 1.5rem;
}

.featured-review-pros ul li {
    color: #2e7d32; /* Green */
}

.featured-review-cons ul li {
    color: #c62828; /* Red */
}

.featured-review-actions {
    display: flex;
    gap: 1rem;
}

.sub-heading {
    font-size: 1.8rem;
    text-align: center;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .featured-review-card {
        grid-template-columns: 1fr;
    }
    
    .featured-review-image {
        height: 250px;
    }
    
    .featured-review-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.section-heading {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--light-brown);
}

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

.review-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--light-brown), var(--highlight));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card-img {
    height: 200px;
    background-color: var(--cream);
    overflow: hidden;
    position: relative;
}

.review-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.review-card:hover .review-card-img::after {
    opacity: 1;
}

.review-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.review-card:hover .review-card-img img {
    transform: scale(1.05);
}

.review-card-content {
    padding: 1.5rem;
}

.review-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.review-card-brand {
    display: block;
    color: var(--medium-brown);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.review-card-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.stars {
    color: #FCBF49;
    margin-right: 0.5rem;
}

.review-card-excerpt {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.review-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    background-color: var(--cream);
    color: var(--medium-brown);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.category-tag:hover {
    background-color: var(--highlight);
    color: white;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--highlight);
    border-color: var(--highlight);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-brown);
    border: 2px solid var(--light-brown);
}

.btn-secondary:hover {
    background-color: var(--light-brown);
    color: white;
    text-decoration: none;
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}

/* Categories Section */
.categories-section {
    margin-bottom: 4rem;
    background-color: var(--dark-cream);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(214, 169, 118, 0.2) 0%, rgba(242, 234, 227, 0) 70%);
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.category-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--light-brown);
    opacity: 0.3;
    animation: rotate 15s linear infinite;
}

.category-card:hover .category-icon {
    background-color: var(--light-brown);
    transform: scale(1.1);
}

.category-card:hover .category-icon i {
    color: white;
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--light-brown);
    transition: color 0.3s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.category-card h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--light-brown);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.category-card:hover h3::after {
    width: 100%;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

/* Latest Reviews */
.latest-reviews {
    margin-bottom: 4rem;
}

/* Review Detail Page */
.review-detail {
    margin: 2rem 0 4rem;
}

.review-header {
    text-align: center;
    margin-bottom: 2rem;
}

.review-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.review-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.review-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-image img {
    width: 100%;
    height: auto;
    display: block;
}

.review-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.review-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-section {
    background-color: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
}

.review-section h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid var(--light-brown);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.review-affiliate {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.review-affiliate h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-affiliate p {
    margin-bottom: 1.5rem;
    color: #666;
}

.review-affiliate .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2.5rem;
}

.related-reviews {
    margin-top: 4rem;
}

/* Category Page */
.category-header {
    background-color: var(--dark-cream);
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--medium-brown);
}

/* About Page */
.about-section {
    margin: 3rem 0 5rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Page */
.contact-section {
    margin: 3rem 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--light-brown);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-brown);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Admin Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background-color: var(--dark-brown);
    color: white;
    padding: 2rem 0;
    flex-shrink: 0;
}

.admin-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand h1 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0;
}

.admin-nav {
    padding: 0 1.5rem;
}

.admin-nav-link {
    display: block;
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.admin-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding-left: 0.5rem;
}

.admin-nav-link.active {
    background-color: var(--light-brown);
    color: white;
    padding-left: 0.5rem;
}

.admin-content {
    flex-grow: 1;
    padding: 2rem;
    background-color: var(--off-white);
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.admin-title {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.admin-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

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

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-brown);
}

.stat-card p {
    color: #777;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

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

.admin-table th, 
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-weight: 600;
    color: var(--dark-brown);
    background-color: var(--cream);
}

.admin-table tbody tr:hover {
    background-color: rgba(242, 234, 227, 0.3);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
}

.btn-edit {
    background-color: #4CAF50;
    color: white;
}

.btn-edit:hover {
    background-color: #3e8e41;
    color: white;
    text-decoration: none;
}

.btn-delete {
    background-color: #F44336;
    color: white;
}

.btn-delete:hover {
    background-color: #d32f2f;
    color: white;
    text-decoration: none;
}

/* Admin Forms */
.admin-form {
    max-width: 800px;
    margin: 0 auto;
}

.admin-form h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.admin-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-form .form-group {
    flex: 1;
}

.admin-form .form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.admin-form .form-check {
    margin-bottom: 1.5rem;
}

.admin-login {
    max-width: 400px;
    margin: 5rem auto;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.admin-login h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Utils */
.text-center {
    text-align: center;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
}

.alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
}

.alert-warning {
    background-color: #FFF3CD;
    color: #856404;
}

/* Footer */
.site-footer {
    background-color: var(--dark-brown);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

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

.footer-heading {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--light-brown);
}

.footer-logo {
    margin-bottom: 1.2rem;
    text-align: center;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--highlight);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--light-brown);
}

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

/* Responsive Styles */
@media (max-width: 991px) {
    .review-sections {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        padding: 1rem 0;
    }
    
    .admin-brand {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .admin-nav-link {
        padding: 0.5rem 1rem;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav a {
        display: block;
        padding: 0.8rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .review-header h1 {
        font-size: 2rem;
    }
    
    .newsletter-icons {
        gap: 1.5rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .admin-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .admin-table th:nth-child(3),
    .admin-table td:nth-child(3) {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--cream);
    margin-bottom: 3rem;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.newsletter-section p {
    font-size: 1.1rem;
    color: var(--medium-brown);
}



.newsletter-form input {
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.newsletter-form button {
    background-color: var(--medium-brown);
}

.newsletter-form button:hover {
    background-color: var(--dark-brown);
}

.newsletter-privacy {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--medium-brown);
    opacity: 0.8;
}
