/* Olives Beauty Website Styles */
:root {
    --primary-red: #7F0112;
    --primary-white: #F9F7F7;
    --primary-black: #0A0001;
    --secondary-black: #1a1012;
    --secondary-gray: #3a2327;
    --secondary-white: #F9F7F7;
    --nav-red: #ff5252;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--primary-white);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--secondary-white) 100%);
    color: var(--primary-black);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(10,0,1,0.1);
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-red);
}

.logo::before {
    content: "";
    margin-right: 10px;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--primary-black);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
    color: var(--primary-white);
}

nav a.active {
    background-color: var(--primary-red);
    color: var(--primary-white);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10,0,1,0.5), rgba(127,1,18,0.1));
    background-size: cover;
    background-position: center;
    color: var(--primary-white);
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(10,0,1,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--primary-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127,1,18,0.3);
}

.cta-button:hover {
    background-color: #660010;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(127,1,18,0.4);
}

/* Section Styles */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    color: var(--primary-black);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 10px auto;
}

/* Gallery Styles */
.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-button {
    background-color: var(--primary-white);
    border: 2px solid #ddd;
    padding: 1rem 2rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.tab-button.active {
    background-color: var(--primary-red);
    color: var(--primary-white);
    border-color: var(--primary-red);
}

.tab-button:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-item {
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #F9F7F7, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-item h3 {
    padding: 1rem;
    color: var(--primary-black);
    text-align: center;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(10,0,1,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--primary-white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.submit-button {
    background-color: var(--primary-red);
    color: var(--primary-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #660010;
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--primary-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(10,0,1,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

.price {
    color: var(--primary-red);
    font-weight: bold;
}

/* Aftercare Styles */
.aftercare-content {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(10,0,1,0.1);
    line-height: 1.8;
}

.aftercare-content h3 {
    color: var(--primary-red);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.aftercare-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #bdbdbd;
    margin-top: 2rem;
    padding-top: 1rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-button {
        white-space: nowrap;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    background-color: var(--primary-white);
    padding: 3rem;
    border-radius: 10px;
    margin: 3rem 0;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.cta-button-secondary {
    display: inline-block;
    background-color: var(--secondary-black);
    color: var(--primary-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26,16,18,0.3);
}

.cta-button-secondary:hover {
    background-color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26,16,18,0.4);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Introduction */
.gallery-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #666;
}

/* Contact Info Section */
.contact-info-section {
    margin-top: 3rem;
}

/* Service Notes */
.service-notes {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    box-shadow: 0 4px 15px rgba(10,0,1,0.1);
}

.service-notes h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-notes ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    line-height: 1.8;
}

.service-notes li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Aftercare Contact */
.aftercare-contact {
    background-color: var(--secondary-black);
    color: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.aftercare-contact h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.aftercare-contact p {
    margin-bottom: 0.5rem;
}

/* Privacy Consent Checkbox Styles */
.consent-group {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-left: 3px solid var(--primary-red);
    border-radius: 4px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.consent-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-label span {
    line-height: 1.5;
}

.consent-label a {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 600;
}

.consent-label a:hover {
    color: #a01525;
}

/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    line-height: 1.6;
}

.cookie-content p:first-child {
    flex-basis: 100%;
    margin-bottom: 0.5rem;
}

.cookie-content a {
    color: var(--nav-red);
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #ff7777;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn {
    background-color: var(--primary-red);
    color: white;
}

.accept-btn:hover {
    background-color: #a01525;
    transform: translateY(-2px);
}

.reject-btn {
    background-color: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.reject-btn:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Mobile Responsive for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 0.75rem 1rem;
    }
}

/* Sub-Gallery Styles */
.sub-gallery {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-button {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background-color: #a01525;
    transform: translateX(-5px);
}

.sub-gallery h2 {
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
}

.click-hint {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.85;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Make gallery images appear clickable */
.main-gallery .image-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-gallery .image-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: none;
}

.main-gallery .image-item:hover .click-hint {
    opacity: 1;
    color: var(--primary-black);
    transform: translateY(-2px);
    text-shadow: 0 2px 6px rgba(127, 1, 18, 0.3);
}

.sub-gallery .image-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.sub-gallery .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}
