/* =========================================
   RESET & VARIABLES
   ========================================= */
:root {
    --primary-color: #cd4163;
    /* Pink/Magenta */
    --primary-hover: #b03553;
    --dark-bg: #22252a;
    --darker-bg: #1a1d21;
    --text-heading: #333333;
    --text-body: #666666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    text-transform: uppercase;
    font-weight: 500;
}

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

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
}

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

.btn-sm {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 11px;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-sm:hover {
    background-color: var(--primary-hover);
}

/* =========================================
   1. TOP UTILITY BAR
   ========================================= */
.top-bar {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-left .brand-logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.top-left .sub-logo {
    font-size: 10px;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.top-center {
    display: flex;
    gap: 40px;
}

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

.contact-item i {
    font-size: 18px;
    color: #888;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    font-size: 10px;
    letter-spacing: 1px;
    color: #888;
}

.contact-item a {
    color: var(--white);
    font-weight: 500;
}

/* =========================================
   2. MAIN NAVIGATION
   ========================================= */
.main-header {
    background-color: var(--darker-bg);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 1px;
    color: #ccc;
    padding: 20px 0;
    position: relative;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a,
.search-btn {
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

.social-icons a:hover {
    color: var(--white);
}

.search-btn,
.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle {
    color: var(--white);
    font-size: 24px;
    display: none;
}

.mobile-menu {
    display: none;
    background-color: var(--darker-bg);
    padding: 20px;
    border-top: 1px solid #333;
}

.mobile-menu a {
    display: block;
    color: var(--white);
    padding: 10px 0;
    font-family: var(--font-heading);
    border-bottom: 1px solid #333;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    background: url('image/hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(100, 50, 60, 0.4), rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-subtitle {
    font-family: var(--font-heading);
    letter-spacing: 5px;
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.custom-shape-divider-bottom-16789 {
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: rotate(180deg);
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-16789 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.custom-shape-divider-bottom-16789 .shape-fill {
    fill: #FFFFFF;
}

/* =========================================
   4. ABOUT SECTION
   ========================================= */
.about-section {
    padding: 80px 0 100px;
    background-color: var(--white);
}

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

.about-images {
    position: relative;
    height: 400px;
}

.about-images img {
    position: absolute;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.img-1 {
    width: 60%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-2 {
    width: 70%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid #fff;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.about-text h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #444;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 30px;
    color: #666;
}

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services-section {
    padding: 80px 0 120px;
    background-color: #f0f3f6;
    position: relative;
    /* Create curve at top */
    clip-path: ellipse(150% 100% at 50% 100%);
    /* This is simplified for CSS only, SVG would be better but requires assets */
}

/* Better approach for Top Curve using SVG logic simulated */
.services-section {
    background: #ecf0f5;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}



.section-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.title-col {
    flex: 1;
    min-width: 300px;
}

.sub-heading {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.title-col h2 {
    font-size: 36px;
}

.desc-col {
    flex: 1;
    min-width: 300px;
    padding-left: 30px;
    font-size: 14px;
    color: #666;
}

.desc-col a {
    color: var(--primary-color);
}

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

.service-card {
    background: #fff;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
}

.card-img {
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
    text-align: center;
}

.card-body h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.card-body p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* =========================================
   6. TESTIMONIAL SECTION
   ========================================= */
.testimonial-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1624637651061-6458564491e7?q=80&w=1920&fit=crop') no-repeat center center/cover;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 35, 45, 0.85);
}

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

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.quote-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stars {
    color: var(--primary-color);
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.slide h4 {
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.slide span {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 1px;
}

.slider-controls {
    margin-top: 40px;
}

.slider-controls button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =========================================
   7. GALLERY SECTION
   ========================================= */
.gallery-section {
    padding: 80px 0;
    background: #fff;
}

.section-center-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-center-title h2 {
    font-size: 36px;
}

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

.gallery-item {
    overflow: hidden;
    height: 250px;
    border-radius: 4px;
}

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

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

/* =========================================
   8. BLOG SECTION
   ========================================= */
.blog-section {
    padding: 80px 0 100px;
    background: #fff;
}

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

.blog-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-img {
    position: relative;
    height: 200px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    bottom: 0;
    left: 20px;
    background: #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-family: var(--font-heading);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.blog-info {
    padding: 25px;
    text-align: center;
}

.blog-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.read-more {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.read-more:hover {
    color: #333;
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer-top {
    background-color: #2c313a;
    padding: 60px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 30px;
}

.footer-block i {
    font-size: 40px;
    color: #555;
    /* Dark gray outline icon */
    margin-bottom: 20px;
    display: block;
}

.footer-block h4 {
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-block p {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
}

.main-footer {
    background-color: #22252a;
    padding: 60px 0 30px;
    color: #999;
    font-size: 14px;
    position: relative;
}

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

.footer-logo {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
}

.col-brand p {
    margin-bottom: 20px;
}

.social-icons-footer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    font-size: 12px;
}

.social-icons-footer a:hover {
    background: var(--primary-color);
}

.col-links h4,
.col-newsletter h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
}

.col-links ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.col-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
}

.small-text {
    font-size: 12px;
    line-height: 1.5;
}

.copyright {
    margin-top: 40px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #666;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

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

    .footer-grid-bottom {
        grid-template-columns: 1fr 1fr;
    }

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

/* Mobile */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-center {
        gap: 15px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 300px;
        margin-bottom: 40px;
    }

    .services-grid,
    .blog-grid,
    .footer-grid-top,
    .footer-grid-bottom,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-header-row {
        flex-direction: column;
        gap: 20px;
    }

    .desc-col {
        padding-left: 0;
    }

    .hero-title {
        font-size: 36px;
    }
}