/* ===========================
   CSS VARIABLES / THEME
   =========================== */
:root {
    --navy:       #1a2744;
    --navy-light: #243352;
    --navy-dark:  #111b30;
    --orange:     #e08830;
    --orange-hover:#c97626;
    --gray-warm:  #8c7b6b;
    --gray-light: #f5f2ee;
    --gray-100:   #fafafa;
    --white:      #ffffff;
    --text-dark:  #2c2c2c;
    --text-medium:#555555;
    --text-light: #888888;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
    --shadow-md:  0 4px 20px rgba(0,0,0,.12);
    --shadow-lg:  0 8px 40px rgba(0,0,0,.18);
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --transition: .3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Open Sans', sans-serif;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

.section {
    padding: 60px 0;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-title.text-left { text-align: left; }

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--orange);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-divider.left { margin-left: 0; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-block { width: 100%; }

.btn-phone svg { flex-shrink: 0; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), box-shadow var(--transition);
    padding: 14px 0;
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

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

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-menu.open { right: 0; }

.nav-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-cta-wrap { margin-top: 12px; }

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger { position: relative; }

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after  { top: 8px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('assets/images/room-interior-renovation-indoor-paint.jpg')
        center / cover no-repeat;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17,27,48,.75) 0%,
        rgba(26,39,68,.85) 50%,
        rgba(17,27,48,.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 20px 80px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    opacity: .9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.hero-actions .btn-phone {
    font-size: 1.15rem;
    padding: 16px 36px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(224,136,48,.5); }
    50%       { box-shadow: 0 0 0 12px rgba(224,136,48,0); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounceDown 2s ease infinite;
}

.hero-scroll a { color: var(--white); opacity: .7; }
.hero-scroll a:hover { opacity: 1; }

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ===========================
   SERVICES
   =========================== */
.services {
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--orange);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--orange);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: .95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===========================
   ABOUT
   =========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-badge {
    display: none;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 36px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--text-dark);
}

.about-features li svg {
    color: var(--orange);
    flex-shrink: 0;
}

/* ===========================
   SERVICE AREAS
   =========================== */
.areas {
    background: var(--navy);
    color: var(--white);
}

.areas .section-title { color: var(--white); }
.areas .section-subtitle { color: rgba(255,255,255,.7); }

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.area-tag {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    transition: all var(--transition);
    cursor: default;
}

.area-tag:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-3px);
}

/* ===========================
   GALLERY
   =========================== */
.gallery { background: var(--gray-100); }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,39,68,.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: .85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item a:hover { color: var(--orange); }

/* ===========================
   CONTACT FORM
   =========================== */
.contact-form-wrap {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(224,136,48,.15);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-message {
    text-align: center;
    padding: 40px;
}

.form-message svg { margin: 0 auto 16px; }

.form-message h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-message.success svg { color: #2ecc71; }
.form-message.success h3  { color: #2ecc71; }
.form-message.error svg   { color: #e74c3c; }
.form-message.error h3    { color: #e74c3c; }

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #fcfcfc;
    color: var(--text-medium);
    padding: 60px 0 0;
    border-top: 3px solid var(--orange);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin: 0 auto 16px;
}

.footer-brand p {
    font-size: .95rem;
    font-style: italic;
    opacity: .7;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: var(--orange); }

.footer-contact p { margin-bottom: 8px; }
.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: .85rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

/* ===========================
   FLOATING PHONE BUTTON
   =========================== */
.floating-phone {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    animation: pulse-glow 2s ease-in-out infinite;
}

.floating-phone:hover {
    background: var(--orange-hover);
    transform: scale(1.1);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE — TABLET (min-width: 768px)
   =========================== */
@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .section-title { font-size: 2rem; }
    .section-header { margin-bottom: 50px; }

    /* Navbar desktop */
    .nav-toggle { display: none; }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-end;
        gap: 8px;
        box-shadow: none;
    }

    .nav-link {
        color: var(--navy);
        font-size: .9rem;
        padding: 8px 14px;
    }

    .nav-cta-wrap { margin-top: 0; }

    .nav-logo img { height: 56px; }

    /* Hero */
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Grids: 2 columns */
    .services-grid     { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .gallery-grid      { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .form-row          { grid-template-columns: 1fr 1fr; gap: 16px; }
    .about-features    { grid-template-columns: 1fr 1fr; }
    .footer-top        { grid-template-columns: 1fr 1fr; text-align: left; }
    .footer-brand img  { margin: 0 0 16px; }

    .about-image-inner img { height: 400px; }
    .about-badge { display: block; right: 20px; bottom: -10px; }

    .contact-form-wrap { padding: 36px; }
    .service-card      { padding: 36px 28px; }
}

/* ===========================
   RESPONSIVE — DESKTOP (min-width: 992px)
   =========================== */
@media (min-width: 992px) {
    .section { padding: 100px 0; }
    .section-title { font-size: 2.5rem; }
    .section-header { margin-bottom: 60px; }

    .nav-logo img { height: 66px; }

    /* Grids: full layout */
    .services-grid     { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .about-grid        { grid-template-columns: 1fr 1fr; gap: 60px; }
    .contact-grid      { grid-template-columns: 1fr 1fr; gap: 60px; }
    .footer-top        { grid-template-columns: 2fr 1fr 1fr; }

    .about-image-inner img { height: 500px; }
    .about-badge { right: -20px; bottom: -20px; }

    .contact-form-wrap { padding: 40px; }
    .service-card      { padding: 40px 30px; }
    .footer-brand img  { height: 60px; }
}
