/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.25rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: #2c2c2c;
    font-weight: 500;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* YouTube Background Video */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 177.77777778vh; /* 16:9 aspect ratio */
    height: 56.25vw; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#heroVideo.loaded {
    opacity: 1;
}

/* Fallback background image */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(78, 205, 196, 0.1) 0%, transparent 60%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 600px;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: white;
    animation: fadeInUp 1s ease-out;
    font-size: 3.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.4;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: white;
    color: #2c2c2c;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c2c2c;
    font-weight: 400;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

/* Portfolio Section */
.portfolio {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    padding: 6rem 0;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 107, 107, 0.2);
}

.video-card:hover::before {
    opacity: 1;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f8f9fa;
    overflow: hidden;
    z-index: 2;
}

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

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.video-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c2c2c;
    font-weight: 600;
}

.video-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 6rem 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(78, 205, 196, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
    line-height: 1.6;
}

.services {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
}

.service-item {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    max-width: 280px;
    min-width: 250px;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 107, 0.2);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item h4 {
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 600;
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
}

.service-item p {
    color: #666;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* Real Estate Service - Subtle Teal Theme */
.service-item:nth-child(1) {
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border-left: 3px solid #a8e6cf;
}

.service-item:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.03) 0%, rgba(152, 218, 191, 0.03) 100%);
}

.service-item:nth-child(1):hover {
    box-shadow: 0 20px 60px rgba(168, 230, 207, 0.08);
    border-color: rgba(168, 230, 207, 0.2);
}

.service-item:nth-child(1) h4 {
    color: #5a7c7a;
    background: linear-gradient(135deg, #7fb3b0 0%, #5a7c7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Events Service - Subtle Coral Theme */
.service-item:nth-child(2) {
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    border-left: 3px solid #ffb3ba;
}

.service-item:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(255, 179, 186, 0.03) 0%, rgba(255, 153, 163, 0.03) 100%);
}

.service-item:nth-child(2):hover {
    box-shadow: 0 20px 60px rgba(255, 179, 186, 0.08);
    border-color: rgba(255, 179, 186, 0.2);
}

.service-item:nth-child(2) h4 {
    color: #8b6b6b;
    background: linear-gradient(135deg, #b89595 0%, #8b6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Commercial Service - Subtle Blue Theme */
.service-item:nth-child(3) {
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border-left: 3px solid #b3d9ff;
}

.service-item:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(179, 217, 255, 0.03) 0%, rgba(153, 204, 255, 0.03) 100%);
}

.service-item:nth-child(3):hover {
    box-shadow: 0 20px 60px rgba(179, 217, 255, 0.08);
    border-color: rgba(179, 217, 255, 0.2);
}

.service-item:nth-child(3) h4 {
    color: #6b7c8b;
    background: linear-gradient(135deg, #8a9ba8 0%, #6b7c8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Photo Gallery Section */
.gallery {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.gallery-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.photo-item:hover img {
    transform: scale(1.05);
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalImage {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 85vh;
}

.image-wrapper img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6b6b;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    opacity: 0.7;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.nav-button.prev {
    left: 10px;
}

.nav-button.next {
    right: 10px;
}

.nav-button:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.nav-button:disabled:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
    opacity: 0.2;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    z-index: 1001;
}

.watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    user-select: none;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 6px;
    border-radius: 3px;
    backdrop-filter: blur(2px);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    padding: 6rem 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #666;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-link {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #ff6b6b;
}

.contact-link:hover::after {
    width: 100%;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: #2c2c2c;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

.contact-submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #2c2c2c 100%);
    color: white;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 107, 107, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-media {
    text-align: center;
}

.social-media h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer p {
    opacity: 0.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services {
        flex-direction: column;
        align-items: center;
    }
    
    .service-item {
        max-width: 400px;
        width: 100%;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-link {
        justify-content: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card {
        margin: 0 1rem;
    }
}
