/* Wrapped In His Love - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: #fdf1ed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links .contact-btn {
    color: white;
}

.contact-btn {
    background-color: #4a3c2e;
    color: white;
    padding: 0.6rem 1.0rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-images {
    flex: 1;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #333;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.gallery-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin-right: -20px;
}

.curved-image {
    position: relative;
    width: 75%;
    height: 110%;
    border-radius: 0 50% 0 50%;
    overflow: hidden;
    background-color: #1a1a1a;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1);
}

.curved-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curved-image:hover {
    transform: scale(1.08);
    z-index: 2;
}

.accent-image {
    position: absolute;
    right: -23%;
    bottom: -10%;
    width: 46%;
    height: 61%;
    object-fit: cover;
    border-radius: 0 50% 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(.4,2,.6,1);
}

.accent-image:hover {
    transform: scale(1.08);
    z-index: 2;
}

.decorative-line {
    position: absolute;
    top: -5%;
    right: 21%;
    width: 75%;
    height: 110%;
    border: 2px solid #c4a484;
    border-radius: 0 50% 0 50%;
    border-left: 50%;
    border-bottom: 50%;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

/* Fade-in animation for sections */
.fade-in-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-section.visible { opacity: 1; transform: none; }

/* Button hover effect */
.contact-btn, .gallery-btn, #scripture-prev, #scripture-next {
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.contact-btn:hover, .gallery-btn:hover, #scripture-prev:hover, #scripture-next:hover {
    background: #c4a484;
    color: #fff;
    box-shadow: 0 4px 16px rgba(196,164,132,0.15);
    transform: scale(1.07);
}
/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(196,164,132,0.3);
    pointer-events: none;
}
@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}
/* Gallery image interactivity */
.gallery-img {
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.12) rotate(-1deg);
    box-shadow: 0 12px 36px rgba(196,164,132,0.22);
    z-index: 2;
}
/* Service card image interactivity */
.service-card {
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
}
.service-card:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 8px 32px rgba(196,164,132,0.18);
    z-index: 2;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet Styles */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .hero-content, .hero-images {
        width: 100%;
        flex: unset;
    }
    
    .image-container {
        height: 300px;
        margin-right: 0;
    }
    
    .curved-image {
        width: 100%;
        height: 100%;
        border-radius: 0 0 40% 40%;
    }
    
    .accent-image {
        position: absolute;
        right: 0;
        bottom: -10%;
        width: 60%;
        height: 50%;
        border-radius: 0 40% 0 0;
    }
    
    .decorative-line {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-buttons .contact-btn,
    .cta-buttons .gallery-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 844px) {
    .container {
        padding: 0 0px;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fdf1ed;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-links .contact-btn {
        margin-top: 1rem;
        width: 80%;
    }
    
    /* Hero Section - Mobile Redesign */
    .hero {
        padding: 0rem 0;
        padding: 0;
        min-height: 100vh;
        background-image: url('assets/scarf_hanger.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        color: white;
        padding: 2rem 1rem;
        max-width: 90%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    
    .mobile-selling-text {
        font-size: 1.1rem;
        color: #f0f0f0;
        margin-bottom: 2rem;
        font-weight: 500;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-buttons .contact-btn,
    .cta-buttons .gallery-btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
        padding: 0.8rem 1rem;
        border: 2px solid white;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .cta-buttons .contact-btn:hover,
    .cta-buttons .gallery-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    .hero-images {
        display: none;
    }
    
    /* Services Section */
    #services {
        padding: 2rem 0 !important;
    }
    
    #services h2 {
        font-size: 2rem !important;
    }
    
    #services p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    #services .service-card {
        width: 100% !important;
        margin-bottom: 1rem;
    }
    
    /* Scripture Rotator */
    #scripture-rotator {
        padding: 0 2rem;
        min-height: 80px;
    }
    
    #scripture-text {
        font-size: 1.1rem !important;
        padding: 1rem !important;
    }
    
    #scripture-prev,
    #scripture-next {
        font-size: 1.5rem !important;
    }
    
    /* Order Now Button */
    #order-now-button {
        margin: 1rem;
        padding: 1.5rem !important;
        min-height: auto !important;
    }
    
    #order-now-button h2 {
        font-size: 1.5rem !important;
    }
    
    /* Gallery Section */
    #gallery {
        padding: 2rem 0 !important;
    }
    
    #gallery h2 {
        font-size: 2rem !important;
    }
    
    #gallery p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    #gallery .gallery-img {
        margin-bottom: 1rem;
    }
    
    /* About Section */
    #about {
        padding: 2rem 0 !important;
    }
    
    #about .container {
        flex-direction: column;
        text-align: center;
    }
    
    #about h2 {
        font-size: 2rem !important;
    }
    
    #about p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    /* Contact Section */
    #contact {
        padding: 2rem 0 !important;
    }
    
    #contact h2 {
        font-size: 2rem !important;
    }
    
    #contact p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    #contact form {
        padding: 0 1rem;
    }
    
    #contact input,
    #contact textarea {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Footer */
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    footer div {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .image-container {
        height: 200px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 1.8rem !important;
        width: 1.8rem !important;
    }
    
    #services h2,
    #gallery h2,
    #about h2,
    #contact h2 {
        font-size: 1.8rem !important;
    }
    
    .service-card {
        padding: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.2rem !important;
    }
    
    #scripture-text {
        font-size: 1rem !important;
    }
} 