/* Core Setup & Variables */
:root {
    --navy: #0B2027;
    --orange: #F77F00;
    --red-alert: #D62828; 
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #333333;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; color: var(--text-dark); line-height: 1.6; }

/* Typography */
h1, h2, h3 { color: var(--navy); }
h2 { text-align: center; margin-bottom: 40px; font-size: 2.5rem; }

/* Buttons */
button { font-family: inherit; font-size: 1rem; }
.btn-primary, .btn-secondary, .btn-alert {
    display: inline-block; padding: 12px 24px; border-radius: 5px;
    text-decoration: none; font-weight: 600; cursor: pointer; border: none; transition: 0.3s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #e07200; }

.btn-alert { background: var(--red-alert); color: var(--white); }
.btn-alert:hover { background: #b01e1e; }

/* Large Buttons for Main Call to Action */
.btn-large {
    font-size: 1.25rem;
    padding: 18px 36px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Add File Button Styling */
.btn-add-file {
    background: transparent;
    color: var(--navy);
    border: 1px dashed #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    text-align: center;
}
.btn-add-file:hover {
    background: #e8f0fe;
    border-color: var(--navy);
}
.file-upload-row { margin-bottom: 10px; }

/* Sticky Header */
header {
    background: var(--navy); color: var(--white); padding: 15px 5%;
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; top: 0; width: 90%; z-index: 1000;
}
.logo { font-size: 1.5rem; font-weight: 700; }
.header-nav { display: flex; gap: 15px; flex-wrap: wrap; }

/* Hero Section */
#hero { background: var(--navy); padding: 180px 5% 150px; text-align: center; }
#hero p { color: var(--light-gray); font-size: 1.2rem; margin-top: 20px;}
.hero-content h1 { color: var(--white); font-size: 3rem; margin-bottom: 30px; }

/* Process & Hidden Sections */
.hidden-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hidden-section.visible {
    opacity: 1;
    transform: translateY(0);
}
#process { background: var(--light-gray); padding: 80px 5%; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 40px;}
.card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: center; }
.shield-box { background: #e8f0fe; border-left: 5px solid var(--navy); padding: 20px; border-radius: 4px; max-width: 800px; margin: 0 auto; }

/* Main Buttons Container */
.process-buttons {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}

/* Gallery Section */
#gallery { background: var(--light-gray); padding: 80px 5%; text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.gallery-item { 
    width: 100%; 
    height: auto;
    aspect-ratio: 1 / 1.414;
    object-fit: cover; 
    object-position: top;
    border-radius: 8px; 
    cursor: pointer; 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #ddd;
    background-color: #fff;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* MODALS (Popups) */
.modal {
    display: none; 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 2000; align-items: center; justify-content: center;
}
.modal-content {
    background: var(--white); padding: 40px; border-radius: 8px;
    width: 90%; max-width: 500px; position: relative;
    max-height: 90vh; overflow-y: auto; 
}
.border-alert { border-top: 5px solid var(--red-alert); }
.close-btn {
    position: absolute; top: 15px; right: 20px;
    font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer;
}
.close-btn:hover { color: #000; }

/* Forms Inside Modals */
.contact-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea, .contact-form input[type="file"] {
    width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit;
    box-sizing: border-box; 
}

/* LIGHTBOX (Darkroom) */
.lightbox {
    display: none;
    position: fixed; z-index: 3000; left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center; justify-content: center;
}
.lightbox-content {
    max-width: 80%;
    max-height: 80vh;
    border: 4px solid white;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    user-select: none;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 35px;
    color: #f1f1f1;
    font-size: 40px; font-weight: bold; cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover { color: var(--orange); }

/* Navigation Arrows */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    user-select: none;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--orange); }

/* Footer & Floating Elements */
footer { background: var(--navy); color: var(--white); text-align: center; padding: 20px; }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; left: 20px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 35px; box-shadow: 2px 2px 3px #999; z-index: 100; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.scroll-top { 
    position: fixed; width: 50px; height: 50px; bottom: 20px; right: 20px; 
    background-color: var(--navy); color: var(--white); border-radius: 5px; 
    text-align: center; font-size: 24px; z-index: 100; 
    display: flex; align-items: center; justify-content: center; text-decoration: none; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease; 
}
.scroll-top.show { opacity: 1; visibility: visible; }