/* ===== ROOT VARIABLES ===== */
:root {
    --primary-white: #FFFFFF;
    --primary-gold: #D4AF37;
    --accent-gold: #C6A667;
    --text-black: #1a1a1a;
    --bg-grey: #F5F5F5;
    --dark-grey: #333333;
    --light-grey: #e0e0e0;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-black);
    background-color: var(--primary-white);
    line-height: 1.6;
}

/* ===== UTILITY CLASSES ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-black);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-grey);
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--text-black);
    border: 2px solid var(--primary-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

.btn-primary-full {
    background-color: var(--primary-gold);
    color: var(--text-black);
    border: 2px solid var(--primary-gold);
    width: 100%;
}

.btn-primary-full:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-primary-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background-color: var(--primary-gold);
    color: var(--text-black);
    border: 2px solid var(--primary-gold);
}

.btn-primary-small:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-black);
    border: 2px solid var(--text-black);
}

.btn-secondary:hover {
    background-color: var(--text-black);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.btn-small-secondary {
    padding: 8px 16px;
    font-size: 0.85rem;
    background-color: transparent;
    color: var(--text-black);
    border: 2px solid var(--text-black);
}

.btn-small-secondary:hover {
    background-color: var(--text-black);
    color: var(--primary-white);
}

.btn-small-primary {
    padding: 8px 16px;
    font-size: 0.85rem;
    background-color: var(--primary-gold);
    color: var(--text-black);
    border: 2px solid var(--primary-gold);
    margin-left: 8px;
}

.btn-small-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-gold-link {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-gold-link:hover {
    background-color: var(--primary-gold);
    color: var(--text-black);
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-black);
    text-decoration: none;
}

.logo i {
    color: var(--primary-gold);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    color: var(--text-black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-black);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 70px;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-white) 0%, rgba(212, 175, 55, 0.05) 100%);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

/* Hero logo placed on banner */
.site-logo {
    position: absolute;
    top: 14px;
    left: 20px;
    height: 56px;
    z-index: 1100;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(212,175,55,0.18));
}

/* nav brand fallback (when logo is moved to banner) */
.nav-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-black);
    letter-spacing: 0.6px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-black);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-illustration {
    width: 100%;
    max-width: 480px;
    opacity: 0.95;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    display: block;
    animation: heroFadeInBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes heroFadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 20px;
    background-color: var(--primary-white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.avatar {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-white);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    animation: fadeIn 0.8s ease;
}

.about-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content h3 {
    font-size: 1.3rem;
    color: var(--text-black);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--dark-grey);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-grey);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-icon {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 20px;
    background-color: var(--bg-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--primary-white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
}

.service-card:hover {
    border-top-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-black);
}

.service-card > p:nth-of-type(1) {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.service-description {
    color: var(--dark-grey);
    margin: 20px 0 30px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services top logo */
.services-top {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.services-logo {
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.15));
}

/* ===== TEMPLATES SECTION ===== */
.templates {
    padding: 80px 20px;
    background-color: var(--primary-white);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.template-card {
    background-color: var(--primary-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-grey);
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.template-frame {
    width: 100%;
    height: 200px;
    background-color: var(--bg-grey);
    border-bottom: 2px solid var(--light-grey);
    position: relative;
    overflow: hidden;
}

.template-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.template-card:hover .template-image {
    transform: scale(1.05);
}

.template-card h3 {
    font-size: 1.2rem;
    padding: 20px 20px 5px;
    color: var(--text-black);
}

.template-card p {
    padding: 0 20px;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.template-buttons {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.template-buttons .btn {
    flex: 1;
}

/* ===== ADS SECTION ===== */
.ads {
    padding: 80px 20px;
    background-color: var(--bg-grey);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.pricing-card {
    background-color: var(--primary-white);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-gold);
    color: var(--text-black);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-black);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--dark-grey);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-grey);
    color: var(--dark-grey);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-gold);
    margin-right: 10px;
}

.pricing-features i.fa-times {
    color: #ccc;
}

.ads-demo-section {
    background-color: var(--primary-white);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
}

.ads-demo-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-black);
}

.ads-demo-section > p {
    color: var(--dark-grey);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-grey);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    transition: var(--transition);
    position: relative;
}

.video-frame:hover .video-placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    opacity: 0.7;
}

.video-placeholder p {
    color: var(--dark-grey);
    font-weight: 500;
}

/* Image grid for A4 previews */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
}

.image-frame {
    width: 100%;
    aspect-ratio: 210 / 297; /* A4 portrait ratio */
    background-color: var(--bg-grey);
    border-radius: 6px;
    overflow: hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    border: 1px solid var(--light-grey);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A4 image helper: ensure portrait A4 previews look good */
.a4-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 20px;
    background-color: var(--primary-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--bg-grey);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-grey);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-white);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-black);
}

.product-category {
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-description {
    color: var(--dark-grey);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-buttons .btn {
    flex: 1;
    min-width: 80px;
}

/* ===== COMMENTS SECTION STYLES ===== */
.comments {
    padding: 60px 20px;
    background-color: var(--primary-white);
}

.comments-wrapper {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comment-form .form-group input,
.comment-form .form-group textarea {
    background: #fff;
}

.comment-list {
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    background-color: var(--bg-grey);
    padding: 18px;
    border-radius: 8px;
    border: 1px solid var(--light-grey);
}

.comment-meta {
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 8px;
}

.comment-time {
    color: var(--dark-grey);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 80px 20px;
    background-color: var(--bg-grey);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-card {
    background-color: var(--primary-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.video-player:hover {
    background-color: var(--primary-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player i {
    font-size: 1.8rem;
    color: var(--text-black);
    margin-left: 3px;
}

.portfolio-card h3 {
    padding: 20px 20px 5px;
    font-size: 1.2rem;
    color: var(--text-black);
}

.portfolio-category {
    padding: 0 20px;
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.portfolio-card .btn {
    display: block;
    margin: 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-grey), rgba(212, 175, 55, 0.05));
}

.testimonials-wrapper {
    position: relative;
    margin-top: 50px;
}

.testimonials-carousel {
    display: flex;
    overflow: hidden;
    margin-bottom: 30px;
}

.testimonial-item {
    min-width: 100%;
    padding: 60px 40px;
    background-color: var(--primary-white);
    border-radius: 8px;
    text-align: center;
    animation: slideIn 0.5s ease;
    border: 1px solid var(--light-grey);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin: 0 3px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--dark-grey);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-gold);
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-gold);
    background-color: transparent;
    color: var(--primary-gold);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--primary-gold);
    color: var(--text-black);
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 20px;
    background-color: var(--primary-white);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-grey);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-grey);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.faq-question:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-black);
    margin: 0;
}

.faq-toggle {
    color: var(--primary-gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    color: var(--dark-grey);
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 20px;
    background-color: var(--bg-grey);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    background-color: var(--primary-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-black);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--text-black);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item {
    background-color: var(--primary-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: var(--primary-white);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-black);
}

.contact-item p {
    color: var(--dark-grey);
}

.contact-item a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-black);
    color: var(--primary-white);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.footer-section p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-grey);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-gold);
    color: var(--text-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--light-grey);
}

.footer-bottom p {
    margin: 5px 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-illustration {
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .avatar {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .services-grid,
    .templates-grid,
    .pricing-grid,
    .products-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .comments-wrapper {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .testimonial-item {
        padding: 40px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card,
    .product-card,
    .contact-form {
        padding: 25px;
    }

    .template-buttons {
        flex-direction: column;
    }

    .template-buttons .btn {
        margin-left: 0;
    }

    .btn-small-primary {
        margin-left: 0;
        margin-top: 8px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}
