/* CSS Variables for Premium Theme */
:root {
    --primary: #942222; /* Primary Gold */
    --secondary: #111111; /* Secondary Black */
    --bg: #F8F8F8; /* Background */
    --text: #222222; /* Text Color */
}

/* Global Styles & Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    background-color: var(--bg); 
    color: var(--text); 
    line-height: 1.6; 
}

/* Typography */
h1, h2, h3, h4 { color: var(--secondary); margin-bottom: 15px; }
p { margin-bottom: 15px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 40px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.section-title span { color: var(--primary); }

/* Buttons */
.btn { 
    display: inline-block; 
    padding: 12px 30px; 
    background: var(--primary); 
    color: #fff; 
    text-decoration: none; 
    border-radius: 4px; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    border: 2px solid var(--primary);
    cursor: pointer; 
}
.btn:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-outline { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; padding: 12px 30px; display: inline-block; border-radius: 4px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.btn-outline-white:hover { background: #fff; color: var(--secondary); transform: translateY(-3px); }

/* Sticky Navigation */
nav { position: fixed; top: 0; width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; padding: 15px 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--secondary); text-decoration: none; text-transform: uppercase;}
.logo span { color: var(--primary); }
.nav-links a { margin-left: 25px; text-decoration: none; color: var(--secondary); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Sections General */
section { padding: 100px 0; }

/* Hero Section - Full Window Height */
#home { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(rgba(17, 17, 17, 0.75), rgba(17, 17, 17, 0.75)), url('image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 1px solid #eaeaea;
}
#home .container {
    width: 100%;
    text-align: center;
    padding-top: 80px; /* Offset for sticky nav */
}
#home h1 { 
    font-size: 3.8rem; 
    line-height: 1.2; 
    margin-bottom: 20px; 
    color: #ffffff; 
}
#home p { 
    font-size: 1.2rem; 
    max-width: 700px; 
    margin: 0 auto 30px; 
    color: #e0e0e0; 
}
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* About Section */
#about { background: var(--bg); text-align: center; }
#about p { max-width: 800px; margin: 0 auto 15px; font-size: 1.1rem; color: #444; }

/* Services Grid */
#services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { 
    background: var(--bg); 
    padding: 35px 25px; 
    border-radius: 8px; 
    border-top: 4px solid var(--primary); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    text-align: center; 
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.service-card h3 { font-size: 1.4rem; color: var(--secondary); }
.price { margin-top: 20px; font-weight: 700; color: var(--primary); font-size: 1.2rem; display: block;}

/* Gallery Section (Masonry Layout) */
#gallery { background: var(--bg); }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.masonry img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.3s, opacity 0.3s; }
.masonry img:hover { transform: scale(1.02); opacity: 0.9; }

/* Reviews & QR Section */
#reviews { background: #fff; }
.reviews-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-bottom: 50px; }
.review-card { background: var(--bg); padding: 30px; border-radius: 8px; max-width: 350px; flex: 1 1 300px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.stars { color: var(--primary); margin-bottom: 15px; font-size: 1.4rem; letter-spacing: 2px; }
.review-text { font-style: italic; color: #555; }

.qr-banner {
    background: var(--secondary);
    color: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid var(--primary);
}
.qr-banner h3 { color: var(--primary); }
.qr-box { 
    background: #fff; 
    width: 180px; 
    height: 180px; 
    margin: 20px auto 0; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 2px dashed #ccc;
    overflow: hidden; /* Ensures the image doesn't spill out of border radius */
}

/* Contact Section */
#contact { background: var(--secondary); color: #fff; }
#contact .section-title { color: #fff; }
#contact .section-title span { color: var(--primary); }
form { max-width: 600px; margin: 0 auto; background: #1a1a1a; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 20px; }
input, select, textarea { 
    width: 100%; 
    padding: 15px; 
    border-radius: 4px; 
    border: 1px solid #333; 
    background: #222;
    color: #fff;
    font-family: inherit; 
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; height: 120px; }
form .btn { width: 100%; border: none; font-size: 1.1rem; padding: 15px; }

/* Footer */
footer { background: #050505; color: #888; text-align: center; padding: 50px 20px; border-top: 2px solid #1a1a1a; }
footer h2 { color: var(--primary); margin-bottom: 10px; font-size: 1.8rem; }
footer p { margin-bottom: 8px; font-size: 1rem; }
.tagline { color: #fff; font-weight: 500; margin: 20px 0; letter-spacing: 1px;}

/* Floating WhatsApp Button */
.float-wa { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25D366; 
    color: white; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 30px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    z-index: 1000; 
    text-decoration: none; 
    transition: transform 0.3s; 
}
.float-wa:hover { transform: scale(1.1); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { display: none; }
    #home h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; gap: 15px; }
    section { padding: 60px 0; }
}
/* Updated Logo Styling */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; /* Logo-kum Text-kum ulla gap */
    text-decoration: none; 
}

.logo-img {
    height: 60px; /* Logo-voda size. Ungaluku perusa venumna 70px, 80px nu maathikalam */
    width: auto;
    object-fit: contain;
}

.logo-text { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: var(--secondary); 
    text-transform: uppercase;
}

.logo-text span { 
    color: var(--primary); 
}