/* 
 * deBukkyStudio Website Styles
 * Premium Black, White, and Gold Color Palette
 * Classic, Elegant, and Emotionally Warm Design
 */

/* ===== CSS Variables ===== */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gold: #C6A75E;
    --color-dark-gray: #1a1a1a;
    --color-light-gray: #f5f5f5;
    --color-medium-gray: #666666;
    
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-black);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-medium-gray);
}

/* ===== Container & Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 1rem auto 0;
}

/* ===== Header & Navigation ===== */
header {
    background: var(--color-white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
}

.logo span {
    color: var(--color-gold);
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--color-dark-gray);
    font-size: 0.95rem;
    text-transform: capitalize;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--color-gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-black);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

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

.hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-light-gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .gold-accent {
    color: var(--color-gold);
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-dark {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-dark:hover {
    background: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

/* ===== Sticky Floating Contact Button ===== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(198, 167, 94, 0.4);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(198, 167, 94, 0.6);
}

.floating-btn.phone {
    background: var(--color-black);
}

.floating-btn.email {
    background: var(--color-gold);
}

/* ===== Grid Layouts ===== */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* ===== Cards ===== */
.card {
    background: var(--color-white);
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.values-list {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.value-text h4 {
    margin-bottom: 0.5rem;
}

/* ===== Portfolio Gallery ===== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--color-light-gray);
    color: var(--color-medium-gray);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
    border-radius: 3px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--color-white);
    text-align: center;
    padding: 2rem;
}

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

.portfolio-overlay h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.portfolio-category {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ===== Services Section ===== */
.service-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--color-light-gray);
    border-radius: 5px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--color-white);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
    margin-bottom: 1rem;
}

/* ===== How It Works Section ===== */
.steps {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
}

/* ===== Contact Form ===== */
.contact-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-light-gray);
    border-radius: 5px;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--color-gold);
}

.contact-details h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
}

.contact-details a {
    color: var(--color-gold);
    font-weight: 600;
}

.booking-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-light-gray);
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--color-light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 5px;
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid var(--color-gold);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-medium-gray);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-black);
}

.testimonial-location {
    color: var(--color-gold);
    font-size: 0.9rem;
}

/* ===== Trust Elements ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    background: var(--color-dark-gray);
    color: var(--color-white);
}

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

.trust-badge h3 {
    color: var(--color-gold);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.trust-badge p {
    color: var(--color-light-gray);
    margin: 0;
}

/* ===== Blog Section ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-medium-gray);
}

.blog-date {
    color: var(--color-gold);
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--color-medium-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--color-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* ===== Footer ===== */
footer {
    background: var(--color-black);
    color: var(--color-light-gray);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--color-light-gray);
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--color-light-gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-dark-gray);
    color: var(--color-medium-gray);
}

.footer-bottom p {
    margin: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Navigation */
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Layout */
    .section {
        padding: 50px 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-wrapper {
        flex-direction: column;
    }
    
    .steps {
        flex-direction: column;
    }
    
    /* Hero */
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    /* Floating Contact */
    .floating-contact {
        bottom: 20px;
        right: 20px;
        scale: 0.9;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

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

.text-gold {
    color: var(--color-gold);
}

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

.bg-dark {
    background: var(--color-dark-gray);
    color: var(--color-white);
}

.mb-1 {
    margin-bottom: 1rem;
}

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

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

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

.mt-3 {
    margin-top: 3rem;
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ===== Loading State ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ===== Success Message ===== */
.success-message {
    background: #4caf50;
    color: white;
    padding: 1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}
