/* ============================================
   Aspire Wallpaper Innovations - Main Stylesheet
   Natural Luxury Craftsmanship Design
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
    --color-sandstone: #D8C3A5;
    --color-clay-taupe: #B79C83;
    --color-linen-white: #F7F3EC;
    --color-deep-brown: #2E2722;
    --color-terracotta: #C97D5B;
    --color-terracotta-hover: #B4684C;
    --color-white: #FFFFFF;
    --color-overlay: rgba(46, 39, 34, 0.7);
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-btn: 12px;
    --radius-card: 16px;
    --shadow-soft: 0 4px 20px rgba(46, 39, 34, 0.08);
    --shadow-elevated: 0 8px 40px rgba(46, 39, 34, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-deep-brown);
    background-color: var(--color-linen-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--color-terracotta-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-deep-brown);
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li { margin-bottom: 0.4rem; }

/* --- CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section--sandstone { background-color: var(--color-sandstone); }
.section--linen { background-color: var(--color-linen-white); }
.section--clay { background-color: var(--color-clay-taupe); color: var(--color-white); }

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-deep-brown);
    text-decoration: none;
}

.header__logo span {
    color: var(--color-terracotta);
}

.header__contact {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
}

.header__phone {
    font-weight: 600;
    color: var(--color-deep-brown);
}

.header__email {
    color: var(--color-terracotta);
}

/* --- NAVIGATION --- */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-deep-brown);
    border-radius: 8px;
    transition: var(--transition);
}

.nav__link:hover {
    background: var(--color-sandstone);
    color: var(--color-terracotta);
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav__dropdown-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-deep-brown);
    transition: var(--transition);
}

.nav__dropdown:hover .nav__dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-elevated);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-deep-brown);
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav__dropdown-menu a:hover {
    background: var(--color-linen-white);
    color: var(--color-terracotta);
    padding-left: 24px;
}

/* --- MOBILE MENU --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-deep-brown);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: var(--color-white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 1050;
    padding: 80px 24px 40px;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    background: var(--color-linen-white);
    border-radius: 50%;
    color: var(--color-deep-brown);
    transition: var(--transition);
}

.mobile-menu__close:hover {
    background: var(--color-sandstone);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu__nav a {
    display: block;
    padding: 14px 16px;
    color: var(--color-deep-brown);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu__nav a:hover {
    background: var(--color-linen-white);
    color: var(--color-terracotta);
}

.mobile-menu__nav .mobile-dropdown-title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-clay-taupe);
    padding: 16px 16px 8px;
}

.mobile-menu__nav .mobile-sub-link {
    padding-left: 32px;
    font-size: 0.9rem;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
}

.mobile-overlay.active {
    display: block;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    min-height: 56px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--color-terracotta-hover);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(201, 125, 91, 0.4);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
}

.btn--outline:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-terracotta);
}

.btn--white:hover {
    background: var(--color-linen-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 39, 34, 0.75) 0%, rgba(46, 39, 34, 0.4) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--color-white);
}

.hero__content h1 {
    color: var(--color-white);
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.hero__content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__form {
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- FORM STYLES --- */
.feedback-form-container {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-elevated);
    max-width: 480px;
    width: 100%;
}

.feedback-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--color-deep-brown);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-row .form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    border: 1.5px solid #e0d6cc;
    border-radius: 10px;
    background: var(--color-linen-white);
    color: var(--color-deep-brown);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(201, 125, 91, 0.15);
}

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

.form-submit {
    margin-top: 8px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    min-height: 56px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: var(--color-terracotta);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--color-terracotta-hover);
    box-shadow: 0 4px 16px rgba(201, 125, 91, 0.4);
    transform: translateY(-2px);
}

#form-success {
    text-align: center;
    padding: 20px;
}

#form-success p {
    color: var(--color-deep-brown);
    font-size: 1.05rem;
}

/* --- CARDS --- */
.card {
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card__body {
    padding: 28px;
}

.card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.card__text {
    font-size: 0.95rem;
    color: #5a4f47;
    margin-bottom: 16px;
}

/* --- GRID LAYOUTS --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

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

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header p {
    font-size: 1.05rem;
    color: #5a4f47;
}

/* --- CTA BLOCK --- */
.cta-block {
    background: var(--color-sandstone);
    padding: 48px;
    border-radius: var(--radius-card);
    text-align: center;
    margin: 48px 0;
}

.cta-block h2, .cta-block h3 {
    margin-bottom: 16px;
}

.cta-block p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.cta-block .btn {
    margin: 0 8px;
}

/* --- MAP --- */
.map-container {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin: 32px 0;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* --- FAQ --- */
.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-deep-brown);
}

.faq-item p {
    color: #5a4f47;
    font-size: 0.95rem;
}

/* --- FOOTER --- */
.footer {
    background: var(--color-deep-brown);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__brand span {
    color: var(--color-terracotta);
}

.footer__desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--color-terracotta);
    padding-left: 4px;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* --- STICKY QUOTE BUTTON --- */
.sticky-quote {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
}

.sticky-quote__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    min-height: 56px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201, 125, 91, 0.5);
    transition: var(--transition);
    text-decoration: none;
}

.sticky-quote__btn:hover {
    background: var(--color-terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(201, 125, 91, 0.6);
}

/* --- MODAL --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-linen-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal__close:hover {
    background: var(--color-sandstone);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- BREADCRUMB --- */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: #5a4f47;
}

.breadcrumb a {
    color: var(--color-terracotta);
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* --- CONTENT SECTIONS --- */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-section h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-section ul,
.content-section ol {
    margin-bottom: 20px;
}

.content-section p {
    margin-bottom: 16px;
    line-height: 1.8;
}

/* --- IMAGE GALLERY --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-card);
    transition: var(--transition);
}

.gallery img:hover {
    transform: scale(1.02);
}

/* --- NEIGHBORHOODS --- */
.neighborhoods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 24px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.neighborhoods li {
    padding: 8px 0;
    border-bottom: 1px solid #e8e0d8;
    font-size: 0.95rem;
}

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

.about-hero img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sandstone);
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- SERVICE AREA LINKS --- */
.area-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.area-links a {
    display: block;
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: 10px;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.area-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    color: var(--color-terracotta);
}

/* --- PAGE HERO (INNER PAGES) --- */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--color-sandstone) 0%, var(--color-clay-taupe) 100%);
    text-align: center;
}

.page-hero h1 {
    color: var(--color-deep-brown);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #5a4f47;
    max-width: 600px;
    margin: 0 auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__form {
        margin-left: 0;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    
    .nav { display: none; }
    .header__contact { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu { display: block; }
    
    .hero { min-height: 80vh; }
    .hero__content h1 { font-size: 2.4rem; }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .neighborhoods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .page-hero {
        padding: 120px 0 40px;
    }
    
    .cta-block {
        padding: 32px 24px;
    }
    
    .sticky-quote {
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .area-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    
    .container { padding: 0 16px; }
    
    .feedback-form-container { padding: 24px; }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .neighborhoods {
        grid-template-columns: 1fr;
    }
    
    .area-links {
        grid-template-columns: 1fr;
    }
}
