:root {
    /* Primary Colors */
    --color-primary: #000000;      /* Black - Primary base */
    --color-secondary: #2B2B2B;    /* Dark Gray */
    --color-accent: #C53030;       /* Red - Accent */
    
    /* Supporting Colors */
    --color-text-muted: #B3B3B3;   /* Medium Gray */
    --color-light-bg: #E6E6E6;     /* Light Gray */
    --color-light: #FFFFFF;        /* White */
    
    /* Interactive States */
    --color-accent-hover: #A52929; /* Darker Red for hover */
    --color-accent-light: #da3e3e; /* Lighter Red for contrast */
    
    /* Utility Colors */
    --color-success: #2F855A;      /* Keep for success messages */
    --color-error: #C53030;        /* Use accent red for errors */
    --color-warning: #C05621;      /* Warm color for warnings */
    
    /* Text Colors */
    --color-text: #000000;         /* Primary text color */
    --color-text-light: #FFFFFF;   /* Light text for dark backgrounds */
    --color-text-gray: #B3B3B3;    /* Secondary text color */
}

/* Global Styles */
body {
    background-color: var(--color-light);
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
}

a {
    color: var(--color-accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

/* Button Styles */
.button, 
button {
    background-color: var(--color-accent);
    color: var(--color-light);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;  /* Rounded corners */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(197, 48, 48, 0.2);  /* Subtle shadow with accent color */
}

.button:hover,
button:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(197, 48, 48, 0.3);
}

.button-secondary {
    background-color: var(--color-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-secondary:hover {
    background-color: var(--color-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-outline {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    box-shadow: none;
}

.button-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
    box-shadow: 0 4px 8px rgba(197, 48, 48, 0.3);
}

.button-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.button-small {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* Icon Button */
.button-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Disabled State */
.button:disabled,
button:disabled {
    background-color: var(--color-text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading State */
.button.loading,
button.loading {
    position: relative;
    color: transparent;
}

.button.loading::after,
button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-light);
    border-radius: 50%;
    border-top-color: transparent;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

/* Section Backgrounds */
.section-dark {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.section-gray {
    background-color: var(--color-light-bg);
}

/* Card Styles */
.card {
    background-color: var(--color-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
input, 
select, 
textarea {
    border: 1px solid var(--color-text-gray);
    background-color: var(--color-light);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* Navbar Brand Styling */
.navbar-brand {
    position: relative; /* Essential for positioning any pseudo-elements if used in the future */
    display: flex;
    align-items: center;
}

/* Prevent text from wrapping in the navbar-brand link */
.navbar-brand a {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Logo Styling */
.navbar-brand img.logo {
    width: 50px; /* Adjust the size as needed */
    height: auto;
    margin-right: 10px; /* Space between logo and text */
    vertical-align: middle;
    z-index: 2; /* Ensure the logo stays above the pseudo-element */

    background-color: #ffffff; /* White background behind the logo */
    padding: 10px;               /* Space around the logo */
    border-radius: 50%;          /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */

    transition: transform 0.3s ease;
}

.navbar-brand img.logo:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Adjust font size for smaller screens */
@media (max-width: 768px) {
    .navbar-brand a {
        font-size: 1rem; /* Smaller font size */
    }

    .navbar-brand img.logo {
        width: 40px; /* Reduce logo size */
        padding: 8px; /* Adjust padding as needed */
    }
}

@media (max-width: 480px) {
    .navbar-brand a {
        font-size: 0.9rem; /* Further reduce font size */
    }

    .navbar-brand img.logo {
        width: 30px; /* Further reduce logo size */
        padding: 6px; /* Adjust padding as needed */
    }
}

/* Existing Styles Continue */

/* Existing Styles Continue */

/* Introductory Special Popup Styles */
.intro-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.4s ease;
}

.popup-content {
    position: relative;
    background-image: url('../assets/images/special.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(255, 255, 255, 0.2);
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideIn 0.5s ease;
}

/* Overlay for better text readability */
.popup-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better contrast */
    border-radius: 20px;
    z-index: 0;
}

/* Adjust child elements to appear above the overlay */
.popup-content > * {
    position: relative;
    z-index: 1;
}

.popup-content h2 {
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: #ffffff;
}

.popup-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: #ffffff;
}

/* Style the price text */
.popup-content p strong {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b6b;
    display: block;
    margin: 10px 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #ff6b6b;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
    color: #ff4444;
    transform: rotate(90deg);
}

/* Floating Button Styles */
.open-popup-btn {
    display: none;
    position: fixed;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-accent);
    color: var(--color-light);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInButton 0.5s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

/* Style the price in the tab */
.open-popup-btn .price {
    font-size: 20px;
    font-weight: 800;
    display: block;
    margin: 5px 0;
}

/* Responsive Adjustments for Popup Content */
@media (max-width: 480px) {
    .popup-content {
        padding: 40px 25px;
        max-width: 90%;
        gap: 15px;
    }

    .popup-content h2 {
        font-size: 1.5rem;
    }

    .popup-content p {
        font-size: 1rem;
    }

    .popup-content p strong {
        font-size: 1.6rem;
    }

    .popup-cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .close-btn {
        font-size: 24px;
        top: 10px;
        right: 15px;
    }
    
    .open-popup-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Fade-in animation for the popup */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade-in animation for the floating button */
@keyframes fadeInButton {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ensure focus outlines are visible */
.popup-content a,
.popup-content button,
.close-btn {
    outline: none;
}

.popup-content a:focus,
.popup-content button:focus,
.close-btn:focus {
    outline: 2px solid var(--color-accent);
}

.popup-cta-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-cta-button:hover {
    background-color: #ff4444;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* PayPal Integration Styles */
.popup-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

#paypal-button-container {
    width: 100%;
    max-width: 300px;
}

.secure-payment {
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    opacity: 0.9;
}

.secure-payment i {
    color: #4CAF50;
} 