/*    Base Variables */
:root {
    --primary-color: #f5a623;
    --dark-bg: #0a0a0a;
    --light-bg: #e5e5e5;
    --text-dark: #111111;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-script: 'Caveat', cursive; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: var(--font-body); 
    color: var(--text-dark); 
    line-height: 1.6; 
    background-color: #ffffff; 
    overflow-x: hidden; 
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

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

/*    Utility Classes */
h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
}

.text-center { 
    text-align: center; 
}

.text-primary { 
    color: var(--primary-color) !important; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

/*   Buttons */
.btn { 
    display: inline-block; 
    padding: 12px 24px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    transition: all 0.3s ease; 
    cursor: pointer; 
    border: none; 
}

.btn-primary { 
    background-color: var(--primary-color); 
    color: var(--text-dark); 
}

.btn-primary:hover { 
    background-color: #e0961f; 
}

/*    Hero Section */

.hero {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(65, 60, 55, 0.6) 0%,   
            rgba(235, 175, 45, 0.85) 100% 
        ),
        url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcShqnpnzRVirXQhmtV2TitUYNJbs4T0OBtAdQ&s'); /* Replace with your image path */
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    min-height: 80vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    
    color: white; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(0, 0, 0, 0.4); 
}

.hero-content { 
    position: relative; 
    z-index: 1; 
    max-width: 800px; 
}

.hero h1 { 
    font-size: 4.5rem; 
    margin-bottom: 20px; 
    letter-spacing: 2px; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    font-weight: 300; 
}

/*   Memory Section  */
.memory-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    gap: 60px;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.memory-content {
    flex: 1;
    max-width: 45%;
}

.memory-section h2 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    color: #1a1612; /* Very dark brown/almost black */
    margin: 0 0 30px 0;
}

.text-primary {
    color: #e59f1f; /* Golden orange */
}

.memory-text-block {
    margin-left: 45px; /* Creates the visible indent */
    max-width: 380px;
}

.memory-text-block p {
    font-family: Georgia, 'Times New Roman', Times, serif; /* Serif font for the body */
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.memory-section > div:last-child {
    flex: 1;
    max-width: 55%;
}

.memory-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/*    Create More (Polaroids) Section */
.create-section {
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden; 
}

.create-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Polaroid Container */
.polaroid-gallery {
    position: relative;
    width: 60%;
    height: 450px;
}

.polaroid {
    position: absolute;
    background-color: #ffffff;
    padding: 15px 15px 60px 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eee;
}

.polaroid img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Positioning and Rotating the individual photos */
.p1 { 
    left: 0; 
    top: 20px; 
    transform: rotate(-10deg); 
    z-index: 1; 
}

.p2 { 
    left: 160px; 
    top: 60px; 
    transform: rotate(5deg); 
    z-index: 2; 
}

.p3 { 
    left: 320px; 
    top: 120px; 
    transform: rotate(25deg); 
    z-index: 3; 
}

/* Right side text */
.create-text {
    width: 40%;
}

.create-text h2 {
    font-size: 3.5rem;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: var(--font-body); 
}

.create-text p {
    font-size: 1.5rem;
    color: #444;
}

/*    Featured Work Section  */
.featured-work {
    padding: 0 0 100px 0; 
}

.portfolio-card img { 
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    margin-bottom: 20px; 
}

.card-content .category { 
    font-size: 0.75rem; 
    color: #999; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}

.card-content h3 { 
    font-size: 1.5rem; 
    margin: 10px 0; 
    color: var(--primary-color); 
}

.card-content p { 
    font-size: 0.9rem; 
    color: #333; 
}

/*    Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.section-header { 
    margin-bottom: 50px; 
}

.section-header h2 { 
    font-size: 3rem; 
    font-weight: 400; 
    margin-bottom: 10px; 
}

.section-header p { 
    color: #555; 
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.stars { 
    color: var(--primary-color); 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
}

.quote { 
    font-family: var(--font-heading); 
    color: #333; 
    margin-bottom: 30px; 
    font-size: 1.15rem; 
    line-height: 1.7; 
    flex-grow: 1; 
}

.client-name { 
    font-size: 1.1rem; 
    font-family: var(--font-heading); 
    font-weight: 600; 
    margin-top: auto; 
}

/* Call To Action Banner */
.cta-banner {
    position: relative;
    padding: 120px 0;
    background: url('../gallery/buton_back.jpg') center/cover no-repeat;
    text-align: center;
    
}

.cta-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(0, 0, 0, 0.75); 
}

.cta-content { 
    position: relative; 
    z-index: 1; 

}

.cta-content p { 
    color: #fff; 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    font-weight: 300; 
}

.script-font {
    font-family: var(--font-script);
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p { 
    color: var(--text-light); 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
}


/*    Responsive Design */
@media (max-width: 1024px) {
    .create-container { 
        flex-direction: column; 
        text-align: center; 
    }

    .polaroid-gallery { 
        width: 100%; 
        height: 500px; 
        display: flex; 
        justify-content: center; 
    }

    .p1 { left: 10%; } 
    .p2 { left: 35%; } 
    .p3 { left: 60%; }

    .create-text { 
        width: 100%; 
    }
}

@media (max-width: 992px) {
    .grid-3 { 
        grid-template-columns: repeat(2, 1fr); 
    }

    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }

    .memory-section h2 { 
        font-size: 3.5rem; 
    }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }

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

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

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

    .memory-text-block { 
        margin-left: 0; 
        background: rgba(255,255,255,0.95); 
    }

    .polaroid img { 
        width: 180px; 
        height: 180px; 
    }

    .polaroid-gallery { 
        height: 350px; 
    }

    .p1 { left: 0; } 
    .p2 { left: 25%; } 
    .p3 { left: 50%; }

    .script-font { 
        font-size: 3.5rem; 
    }
}


@media (max-width: 900px) {
    .memory-section {
        flex-direction: column;
        margin: 40px auto;
        gap: 40px;
    }
    
    .memory-content, 
    .memory-section > div:last-child {
        max-width: 100%;
    }

    .memory-text-block {
        margin-left: 0;
        max-width: 100%;
    }

    .memory-section h2 {
        font-size: 2.5rem;
    }
}