/* Common Design System for Reverb Studios */

:root {
    --primary: #C62828;
    --primary-dark: #A91D22;
    --primary-light: #E53935;
    --secondary: #2C3E50;
    --secondary-light: #34495E;
    --text-dark: #2C3E50;
    --text-body: #666666;
    --text-light: #95A5A6;
    --white: #FFFFFF;
    --light: #F8F9FA;
    --border-radius: 10px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
}

/* Common Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.bg-light {
    background-color: var(--light) !important;
}

/* Hero Sections */
/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-carousel .carousel {
    height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gradient Overlays that fade into clarity */
.hero-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Left overlay - Dark to transparent (text on left, image clear on right) */
.overlay-left {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 30%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Right overlay - Transparent to dark (image clear on left, text on right) */
.overlay-right {
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 30%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Hero Content */
.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-content {
    padding: 2rem;
}

.hero-content h1 {
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease-out;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(198, 40, 40, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--primary);
    border-color: var(--primary);
    width: 40px;
    border-radius: 10px;
}

/* Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Hero Sections (Breadcrumb Areas) */
.page-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.80), rgba(44, 62, 80, 0.85)), url('../images/_A9A7539.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 150px 0 100px;
    margin-top: 80px;
    position: relative;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p,
.page-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Hero content styling */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--white);
}

/* Hero Separator */
.hero-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.separator-line {
    height: 2px;
    width: 60px;
    background: var(--primary);
    display: inline-block;
    margin: 0 15px;
}

.hero-separator i {
    color: var(--primary);
    font-size: 1rem;
}

/* Services Section */
.service-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Studio Items */
.studio-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.studio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.studio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.studio-content {
    padding: 25px;
}

.studio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Footer Styles */
.footer-area {
    background: 
        linear-gradient(135deg, rgba(44, 62, 80, 0.75) 0%, rgba(26, 37, 47, 0.80) 100%),
        url('/assets/images/_A9A7468.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.65);
    z-index: 0;
}

.footer-area > * {
    position: relative;
    z-index: 1;
}

/* Footer Newsletter Section */
.footer-newsletter {
    background: rgba(198, 40, 40, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 35px;
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
}

.newsletter-text h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.newsletter-text h4 i {
    color: var(--primary-light);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-newsletter-form .input-group {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.footer-newsletter-form .form-control {
    border: none;
    padding: 14px 20px;
    font-size: 0.95rem;
    background: white;
    color: var(--text-dark);
    font-weight: 400;
}

.footer-newsletter-form .form-control:focus {
    box-shadow: none;
    background: var(--white);
    outline: 2px solid rgba(198, 40, 40, 0.3);
}

.footer-newsletter-form .form-control::placeholder {
    color: var(--text-body);
    opacity: 0.8;
}

.footer-newsletter-form .btn {
    padding: 14px 25px;
    border: none;
    white-space: nowrap;
    font-weight: 600;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
}

.footer-links a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-links a:hover:before {
    margin-right: 15px;
    color: var(--primary-light);
}

/* Special styling for Book Now link in footer */
.footer-links a.text-primary {
    color: var(--primary-light) !important;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.footer-links a.text-primary:hover {
    color: var(--white) !important;
    background: var(--primary);
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: -15px;
}

.footer-links a.text-primary:before {
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition);
    font-size: 18px;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.4);
    border-color: var(--primary-light);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.contact-info i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 20px;
    margin-top: 3px;
    width: 24px;
    text-align: center;
    background: rgba(198, 40, 40, 0.2);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-info li:hover i {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.contact-info span {
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 0;
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.2);
}

.copyright {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 15px;
    font-weight: 400;
}

.copyright p {
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: var(--light);
    padding: 80px 0;
}

.contact-section .contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-section .contact-list {
    list-style: none;
    padding: 0;
}

.contact-section .contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-section .contact-list li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.25rem;
    margin-top: 5px;
}

.booking-cta {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-widget h3 {
        font-size: 1.25rem;
    }
    
    .social-links {
        margin-top: 20px;
    }
    
    .footer-bottom {
        margin-top: 40px;
    }
}

/* Hero Carousel Responsive */
@media (max-width: 992px) {
    .hero-carousel {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .overlay-left,
    .overlay-right {
        background: rgba(0, 0, 0, 0.65);
    }
    
    .slide-content-right {
        text-align: left;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
}

@media (max-width: 991px) {
    .footer-newsletter {
        padding: 25px 20px;
    }
    
    .newsletter-text h4 {
        font-size: 1.1rem;
    }
    
    .newsletter-text {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-newsletter-form .form-control {
        background: white !important;
        font-size: 16px;
        min-height: 52px;
        padding: 14px 18px;
    }
    
    .footer-newsletter-form .btn {
        min-height: 52px;
        padding: 14px 18px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .page-hero {
        padding: 100px 0 60px;
        background-attachment: scroll !important;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p,
    .page-hero .lead {
        font-size: 1rem;
    }
    
    .footer-area {
        padding: 50px 0 0;
        background-attachment: scroll;
    }
    
    .footer-newsletter {
        padding: 20px 15px;
        margin-bottom: 40px;
    }
    
    .newsletter-text h4 {
        font-size: 1rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .newsletter-text p {
        font-size: 0.85rem;
    }
    
    .footer-newsletter-form .input-group {
        flex-direction: column;
        border-radius: 10px;
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    
    .footer-newsletter-form .form-control {
        border-radius: 10px 10px 0 0 !important;
        padding: 18px 20px;
        font-size: 16px;
        background: white !important;
        color: #2C3E50 !important;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        min-height: 60px;
        height: 60px;
        line-height: 1.5;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    
    .footer-newsletter-form .form-control::placeholder {
        color: #666666 !important;
        opacity: 1;
    }
    
    .footer-newsletter-form .btn {
        border-radius: 0 0 10px 10px !important;
        width: 100%;
        padding: 18px 20px;
        min-height: 60px;
        height: 60px;
        font-size: 1.05rem;
        font-weight: 600;
        display: block;
        box-sizing: border-box;
    }
    
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-widget h3 {
        font-size: 1.3rem;
    }
    
    .footer-widget h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget p {
        font-size: 0.95rem;
    }
    
    .social-links {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .footer-links a:before {
        display: none;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
}

/* Newsletter Notification Styles */
.newsletter-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.newsletter-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.newsletter-notification.success {
    background: linear-gradient(135deg, #27AE60 0%, #229954 100%);
    color: var(--white);
}

.newsletter-notification.error {
    background: linear-gradient(135deg, #E74C3C 0%, #C62828 100%);
    color: var(--white);
}

.newsletter-notification .notification-content {
    display: flex;
    align-items: centre;
    gap: 12px;
}

.newsletter-notification .notification-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.newsletter-notification .notification-content span {
    flex: 1;
    line-height: 1.5;
}

/* Inline Message Styles (appears in the form itself) */
.newsletter-inline-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.newsletter-inline-message.show {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-inline-message.success {
    background: rgba(39, 174, 96, 0.15);
    color: #27AE60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.newsletter-inline-message.error {
    background: rgba(231, 76, 60, 0.15);
    color: #E74C3C;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.newsletter-inline-message i {
    font-size: 1.1rem;
}

/* Mobile styles for notification */
@media (max-width: 767px) {
    .newsletter-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        padding: 12px 15px;
        font-size: 0.9rem;
        transform: translateY(-100px);
    }
    
    .newsletter-notification.show {
        transform: translateY(0);
    }
    
    .newsletter-inline-message {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}