/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://via.placeholder.com/1920x1080/1a1a1a/FFD700?text=ჟირაფის+ამწე+სამუშაო');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 80px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.8;
}

/* Hero CTA Row */
.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: #FFD700;
    color: #1a1a1a;
}

.cta-button.primary:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.cta-button.secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Section */
.services {
    background-color: #252525;
}

.services-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.services-list li {
    font-size: 1.2rem;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #1a1a1a;
    border-left: 4px solid #FFD700;
    padding-left: 30px;
    transition: transform 0.3s ease;
}

.services-list li:hover {
    transform: translateX(10px);
    background-color: #2a2a2a;
}

/* Gallery Section */
.gallery {
    background-color: #1a1a1a;
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #b0b0b0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background-color: #252525;
    border: 2px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.video-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.video-placeholder {
    display: flex;
    justify-content: center;
}

/* Video cards (ფიქსირებული 16:9, რომ სიმაღლე არ “გაიწელოს”) */
.video-card {
    width: 100%;
    max-width: 800px;
    margin: 0;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    border: 3px solid #FFD700;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card {
        max-width: 100%;
    }
}

.video-frame:hover {
    background-color: #111;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border-color: #ffed4e;
}

/* Why Us Section */
.why-us {
    background-color: #252525;
}

.why-us-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.why-us-list li {
    font-size: 1.2rem;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #1a1a1a;
    border-left: 4px solid #FFD700;
    padding-left: 30px;
    transition: transform 0.3s ease;
}

.why-us-list li:hover {
    transform: translateX(10px);
    background-color: #2a2a2a;
}

/* FAQ Section */
.faq {
    background-color: #1a1a1a;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #252525;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 5px;
    border-left: 4px solid #FFD700;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    background-color: #2a2a2a;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background-color: #252525;
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-phone {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: #ffed4e;
}

.copy-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 18px;
    flex-wrap: wrap;
}

.copy-input {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 10px 14px;
    min-width: 240px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-align: center;
}

.copy-input:focus {
    outline: 2px solid rgba(255, 215, 0, 0.6);
    outline-offset: 2px;
}

.copy-button {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 5px;
    padding: 10px 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.35);
}

.copy-status {
    min-height: 1.2em;
    font-size: 0.95rem;
    color: #b0b0b0;
}

.contact-messenger {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.contact-location {
    font-size: 1.1rem;
    color: #b0b0b0;
}

/* Contact CTA Row */
.contact-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #0f0f0f;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #FFD700;
}

.footer p {
    font-size: 0.95rem;
    color: #b0b0b0;
}

/* Sticky Call Button */
.sticky-actions {
    position: fixed;
    bottom: 18px;
    right: 18px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.sticky-action {
    background-color: #FFD700;
    color: #1a1a1a;
    padding: 13px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.45);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: 2px solid transparent;
}

.sticky-action:hover {
    background-color: #ffed4e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.65);
}

.sticky-action.whatsapp {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
    box-shadow: none;
    animation: none;
}

.sticky-action.whatsapp:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.65);
}

.phone-icon {
    font-size: 1.3rem;
}

.call-text {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.8);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .call-text {
        display: inline;
    }

    .sticky-action {
        padding: 14px 22px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .gallery-grid {
        /* 5 სურათის “ბალანსი”: ბოლო 2 ბლოკი ცენტრში დაჯდეს */
        grid-template-columns: repeat(6, 1fr);
    }

    .gallery-item {
        grid-column: span 2;
    }

    /* როდესაც სულ 5 სურათია: 4-ე და 5-ე გადავიტანოთ შუაში */
    .gallery-grid .gallery-item:nth-last-child(2) {
        grid-column: 2 / span 2;
    }

    .gallery-grid .gallery-item:last-child {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 767px) {
    .hero {
        background-attachment: scroll;
        min-height: 80vh;
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    .services-list li,
    .why-us-list li {
        font-size: 1rem;
        padding: 15px;
        padding-left: 25px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 1rem;
    }

    .contact-phone {
        font-size: 1.4rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
