/* ===================================
   CAPTAIN TATTOO CARTAGENA
   Estilo inspirado en Seven Tattoo
   =================================== */

@font-face {
    font-family: 'Baskerville Custom';
    src: url('fonts/baskerville-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville Custom';
    src: url('fonts/baskerville-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-black: #1f1c18;
    --color-dark: #2c2824;
    --color-gray-dark: #7e7366;
    --color-gray: #938678;
    --color-gray-light: #c6baab;
    --color-white: #fdfaf3;
    --color-cream: #e6dcc9;
    --color-sand: #f7f1e7;
    --color-stone: #ede3d4;
    
    --font-heading: 'Baskerville Custom', 'Baskerville', 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-black);
    background-color: var(--color-sand);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    color: var(--color-white);
}

.header.scrolled {
    background: rgba(247, 241, 231, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(20, 18, 16, 0.08);
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray-light);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--color-gray);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--color-black);
}

.header.scrolled .nav-link::after {
    background: var(--color-black);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--color-black);
}

/* ===================================
   HERO
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(31, 28, 24, 0.75) 0%,
        rgba(31, 28, 24, 0.55) 40%,
        rgba(247, 241, 231, 0.25) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    padding: 0 40px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 30px;
}

.hero-title .highlight {
    font-style: italic;
    color: var(--color-cream);
}

.hero-text {
    font-size: 17px;
    color: var(--color-gray-light);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-gray);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-black);
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-light);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-icon {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gray-light), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 120px 0;
    background: var(--color-sand);
    color: var(--color-black);
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

/* ===================================
   ABOUT
   =================================== */
.about {
    background: var(--color-sand);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
    height: auto;
    filter: grayscale(30%);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 1px solid var(--color-stone);
    z-index: -1;
}

.about-content {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.about-content > *:not(.about-sketch) {
    position: relative;
    z-index: 1;
}

.about-sketch {
    position: absolute;
    inset: -40px -60px -40px -20px;
    background:
        linear-gradient(var(--color-sand), var(--color-sand)),
        url('img/png/tatuaje2coliseo.png') right 0% top 0%/560px auto no-repeat;
    background-blend-mode: multiply;
    opacity: 0.65;
    filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.12));
    z-index: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transform: translateX(12px);
    transition: opacity 0.8s ease, transform 1.5s ease;
}

.about-sketch.is-visible {
    animation: drawDown 12s ease forwards;
    animation-delay: -0.5s;
    opacity: 0.38;
    transform: translateX(0);
}

@keyframes drawDown {
    0% { clip-path: inset(0 0 100% 0); }
    100% { clip-path: inset(0 0 0 0); }
}

.about-text {
    color: var(--color-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text strong {
    color: var(--color-black);
}


/* ===================================
   SERVICES
   =================================== */
.services {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
}

.services-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--color-gray);
}

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

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-stone);
    border-top: 4px solid var(--color-gray-dark);
    padding: 35px;
    box-shadow: 0 15px 40px rgba(20, 18, 16, 0.08);
    text-align: left;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* ===================================
   PROCESS
   =================================== */
.process {
    background: var(--color-stone);
}

.process-tabs {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray-light);
    background: transparent;
    border: 1px solid var(--color-gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--color-gray);
    color: var(--color-white);
}

.tab-btn.active {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.tabs-content {
    position: relative;
    min-height: 250px;
    width: 100%;
}

.tab-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-panel#diseno {
    overflow: hidden;
    background: var(--color-stone);
}

.tab-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tab-content > *:not(.design-sketch) {
    position: relative;
    z-index: 1;
}

.design-sketch {
    position: absolute;
    inset: -30px;
    background:
        linear-gradient(var(--color-stone), var(--color-stone)),
        url('img/png/tatuaje1.png') center top -5%/120% auto no-repeat;
    background-blend-mode: multiply;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 0 100% 0);
}

.design-sketch.is-visible {
    opacity: 0.7;
    animation: drawDown 12s ease forwards;
}

.tab-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
}

.tab-content p {
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.9;
}

.tab-content > *:not(.design-sketch) {
    position: relative;
    z-index: 1;
}

.design-sketch {
    position: absolute;
    inset: -30px;
    background:
        linear-gradient(var(--color-stone), var(--color-stone)),
        url('img/png/tatuaje1.png') center top -5%/120% auto no-repeat;
    background-blend-mode: multiply;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 0 100% 0);
}

.design-sketch.is-visible {
    opacity: 0.7;
    animation: drawDown 12s ease forwards;
}

/* ===================================
   LASER SERVICE
   =================================== */
.laser {
    background: var(--color-cream);
}

.laser-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 50px;
    align-items: center;
}

.laser-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.laser-text {
    color: var(--color-gray);
    font-size: 17px;
    margin-bottom: 10px;
    max-width: 640px;
}

.laser-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.laser-feature {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(31, 28, 24, 0.1);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(247, 241, 231, 0.92));
    box-shadow: 0 20px 35px rgba(20, 18, 16, 0.08);
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.laser-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 65px rgba(20, 18, 16, 0.18);
    border-color: rgba(31, 28, 24, 0.25);
}

.laser-feature h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
}

.laser-feature p {
    color: var(--color-gray);
    font-size: 15px;
    line-height: 1.7;
}

.laser-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    text-align: center;
}

.laser-cta .btn {
    min-width: 220px;
}

.laser-image {
    position: relative;
}

.laser-image::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid var(--color-gray-dark);
    z-index: -1;
}

.laser-image img {
    width: 100%;
    border: 10px solid var(--color-white);
    box-shadow: 0 20px 40px rgba(20, 18, 16, 0.15);
}

/* ===================================
   ARTISTS
   =================================== */
.artists {
    background: var(--color-sand);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.artist-card {
    background: var(--color-white);
    border: 1px solid var(--color-stone);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(20, 18, 16, 0.08);
}

.artist-card:hover {
    border-color: var(--color-gray-dark);
}

.artist-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-stone), var(--color-cream));
}

.artist-initial {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 400;
    color: var(--color-gray-dark);
    opacity: 0.5;
}

.artist-info {
    padding: 30px;
}

.artist-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
}

.artist-specialty {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 15px;
}

.artist-bio {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.artist-social {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    transition: var(--transition);
}

.artist-social:hover {
    color: var(--color-gray);
}

/* ===================================
   GALLERY
   =================================== */
.gallery {
    background: var(--color-cream);
}

.gallery-intro {
    max-width: 760px;
    margin: 20px auto 0;
    color: var(--color-gray);
    font-size: 17px;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    background: var(--color-black);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: var(--color-white);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.3;
}

.gallery-label strong {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.gallery-item:hover::after {
    opacity: 0.8;
}

.gallery-meta {
    margin-top: 50px;
    background: var(--color-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(20, 18, 16, 0.08);
}

.gallery-meta h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 15px;
}

.gallery-meta ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-gray);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
    background: var(--color-sand);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text {
    color: var(--color-gray);
    margin-bottom: 40px;
    font-size: 17px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

a.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-stone);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-black);
    stroke-width: 1.5;
    fill: none;
}

.contact-item .label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.contact-item .value {
    font-size: 16px;
    color: var(--color-black);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-stone);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-black);
    border-color: var(--color-black);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-black);
    stroke-width: 1.5;
    fill: none;
    transition: var(--transition);
}

.social-links a:hover svg {
    stroke: var(--color-white);
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border: 1px solid var(--color-stone);
}

.contact-map iframe {
    filter: grayscale(30%) contrast(95%);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-stone);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-gray-dark);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-gray-dark);
    margin-bottom: 30px;
}

.footer-logo img {
    height: 70px;
    filter: invert(0);
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-black);
}

.footer-social {
    display: flex;
    gap: 30px;
}

.footer-social a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-black);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-gray);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 30px;
    cursor: pointer;
    padding: 20px;
    transition: var(--transition);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 60px;
    }
    
    .about-sketch {
        inset: -20px -30px -20px -10px;
        background-size: 420px auto;
        opacity: 0.7;
    }
}

@media (max-width: 900px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image {
        order: 2;
        max-width: 520px;
        width: 100%;
    }
    
    .about-sketch {
        display: block;
        inset: -20px -22px -10px -22px;
        background-position: center top -50%;
        background-size: 580px auto;
        opacity: 0.5;
        animation-duration: 12s;
    }

    .design-sketch {
        inset: -20px;
        background-position: left top -25%;
        background-size: 125% auto;
    }

    .about-image::after {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .laser-grid {
        grid-template-columns: 1fr;
    }
    
    .laser-features {
        grid-template-columns: 1fr;
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-content {
        padding: 0 25px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-features {
        flex-direction: column;
        gap: 25px;
    }
    
    .tabs-nav {
        gap: 5px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 11px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    
    .gallery-grid .gallery-item:nth-of-type(n+9) {
        display: none;
    }
    
    .gallery-meta {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}
