/* ====================================
   Calvary Custom Cakes - Modern Styles
   Main Color: #CF477F
   Secondary: #FC71A6
   ==================================== */

/* ========== Root Variables ========== */
:root {
    --primary-color: #CF477F;
    --secondary-color: #FC71A6;
    --dark-text: #232323;
    --body-text: #666666;
    --light-bg: #f7f7f7;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-text);
    overflow-x: hidden;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

section {
    padding: 80px 0;
}

/* ========== Navigation ========== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar .logo {
    max-height: 70px;
    width: auto;
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 0.5rem 0;
}

.navbar-scrolled .logo {
    max-height: 60px;
}

.navbar-brand {
    padding: 0;
    margin-right: 0;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-text);
    margin: 0 1.5rem;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link.cta-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-left: 1.5rem;
}

.navbar-nav .nav-link.cta-nav::after {
    display: none;
}

.navbar-nav .nav-link.cta-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 71, 127, 0.3);
}

/* Remove any separators/dots */
.navbar-nav .nav-item::before,
.navbar-nav .nav-item::after {
    display: none;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.7) 0%, rgba(207, 71, 127, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-control:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

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

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

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* ========== Buttons ========== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(207, 71, 127, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(207, 71, 127, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 45px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ========== Quick Info Section ========== */
.quick-info-section {
    background: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.info-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.info-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.info-card.featured h3,
.info-card.featured p {
    color: var(--white);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card.featured .info-icon {
    color: var(--white);
}

.cupcake-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--body-text);
    margin-bottom: 1rem;
}

.info-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-top: 1rem;
}

.info-link:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    outline: none;
    font-size: 0.95rem;
    border-right: none;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ========== Section Headers ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--body-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Gallery Section ========== */
.gallery-section {
    background: var(--light-bg);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(207, 71, 127, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.gallery-zoom:hover {
    transform: scale(1.1) rotate(90deg);
    color: var(--primary-color);
}

/* ========== About Section ========== */
.about-section {
    background: var(--white);
}

.about-content {
    padding: 2rem;
}

.about-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-right: 1rem;
}

.feature-item span {
    font-size: 1.15rem;
}

.policy-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.policy-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
}

.policy-info p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ========== Contact Section ========== */
.contact-section {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(207, 71, 127, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
}

.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info-wrapper {
    padding: 2rem 0;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.contact-info-card h4 {
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    margin: 0;
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-contact a {
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--primary-color);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ========== Responsive Design ========== */

/* Tablets */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .navbar .logo {
        max-height: 60px;
    }

    .navbar-scrolled .logo {
        max-height: 55px;
    }

    .navbar-nav .nav-link {
        margin: 8px 0;
        text-align: center;
    }

    .navbar-nav .nav-link.cta-nav {
        margin-left: 0;
        margin-top: 10px;
    }

    .navbar-collapse {
        justify-content: flex-start !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .about-content {
        padding: 1rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }

    .feature-item {
        justify-content: center;
    }

    .feature-item span {
        font-size: 1.05rem;
    }

    .policy-info h4 {
        font-size: 1.2rem;
    }

    .policy-info p {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-brand {
        order: 1;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .navbar .logo {
        max-height: 80px;
        margin: 0 auto;
    }

    .navbar-scrolled .logo {
        max-height: 70px;
    }

    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-collapse {
        order: 2;
        width: 100%;
        justify-content: flex-start !important;
        margin-top: 1rem;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-control.prev {
        left: 15px;
    }

    .slider-control.next {
        right: 15px;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .about-content {
        padding: 1rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }

    .about-features {
        margin: 2rem 0;
    }

    .feature-item {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .feature-item span {
        font-size: 1rem;
    }

    .policy-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .policy-info h4 {
        font-size: 1.15rem;
    }

    .policy-info p {
        font-size: 1rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        margin-bottom: 2rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-info-section {
        margin-top: 0;
        padding: 40px 0;
    }

    .info-card {
        margin-bottom: 20px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-content {
        padding: 1rem;
    }

    .navbar .logo {
        max-height: 70px;
    }

    .navbar-scrolled .logo {
        max-height: 60px;
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .feature-item span {
        font-size: 0.95rem;
    }

    .policy-info h4 {
        font-size: 1.1rem;
    }

    .policy-info p {
        font-size: 0.95rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        max-width: 100%;
        padding: 0 10px;
    }

    .newsletter-form input {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .newsletter-form button {
        padding: 10px 20px;
        min-width: 50px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}
