/* style.css
   Main styles for R&R Catering (black + gold luxury theme)
   Path: C:\xampp\htdocs\RRCatering\assets\css\style.css
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* Basic resets */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #000;
  color: #fff;
}

h1, h2, h3,
.hero h1,
.section-title h2,
.menu-card h3 {
  font-family: 'Playfair Display', serif;
}

.main-nav a,
.btn,
.lead,
p {
  font-family: 'Open Sans', sans-serif;
}
/* Container */
.container { width: 92%; max-width: 1100px; margin: 0 auto; }

/* Header */
.rrc-header { background: #000; border-bottom: 1px solid rgba(212,175,55,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.logo-img { height: 95px; display:block; }
.main-nav a { color:#fff; text-decoration:none; margin:0 10px; font-weight:600; }
.main-nav .btn-ghost { padding:8px 14px; border-radius:28px; border:1px solid rgba(212,175,55,0.2); }

/* Responsive nav toggle (simple) */
.nav-toggle { display:none; background:transparent; border:0; color:#fff; font-size:20px; }

/* Hero */
.hero { background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.15)), url('../images/hero.jpg') center/cover no-repeat; padding:60px 0; }
.hero-inner { display:flex; align-items:center; gap:30px; }
.hero-text { flex:1; color:#fff; }
.hero-text h1 { color:#D4AF37; font-size:44px; margin-bottom:10px; letter-spacing:1px; }
.lead { color:#f6f6f6; margin-bottom:16px; line-height:1.4; }
.hero-cta .btn { margin-right:12px; }

/* Buttons */
.btn { display:inline-block; padding:10px 18px; border-radius:28px; text-decoration:none; font-weight:700; }
.btn-primary { background:#D4AF37; color:#000; }
.btn-secondary { background:transparent; color:#fff; border:1px solid rgba(212,175,55,0.35); }
.btn-secondary:hover{ background: #D4AF37; color:#000; border:1px solid rgba(212,175,55,0.35);}

/* Features */
.features { padding:40px 0; }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px; }
.feature-card { background:rgba(255,255,255,0.02); padding:20px; border-radius:10px; }

/* Menu highlights */
.menu-highlights { padding:30px 0; }
.menu-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:14px; }
.menu-item { background:rgba(255,255,255,0.02); padding:10px; border-radius:8px; text-align:center; }
.menu-item img { width:100%; height:160px; object-fit:cover; border-radius:6px; }

/* CTA */
.cta { background:#0b0b0b; padding:30px 0; margin-top:18px; border-top:1px solid rgba(212,175,55,0.06); }
.cta-inner { text-align:center; }

/* Blog */
.latest-blog { padding:30px 0; }

/* Footer */
.rrc-footer { background:#000; color:#ccc; padding:20px 0 40px; border-top:1px solid rgba(212,175,55,0.03); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; padding-bottom:12px; }
.footer-bottom { text-align:center; padding-top:8px; border-top:1px solid rgba(255,255,255,0.02); margin-top:10px; }

/* Responsive rules */
@media (max-width:900px) {
    .hero-inner { flex-direction:column-reverse; }
    .features-grid, .menu-grid { grid-template-columns: 1fr; }
    .nav-toggle { display:block; }
    .main-nav { display:none; position:absolute; top:70px; right:20px; background:#111; padding:12px; border-radius:8px; }
    .main-nav a { display:block; margin:6px 0; }
}

/* Registration / forms */
.rrc-form { display:flex; flex-direction:column; gap:10px; }
.rrc-form label { font-weight:600; color:#ddd; }
.rrc-form input[type="text"],
.rrc-form input[type="email"],
.rrc-form input[type="password"],
.rrc-form textarea {
    padding:10px; border-radius:6px; border:1px solid rgba(255,255,255,0.06);
    background: #0a0a0a; color:#fff;
}
.form-errors { background:#3a0b0b; padding:12px; border-left:4px solid #b10000; margin-bottom:10px; color:#fff; }
.form-success { background:#07250a; padding:12px; border-left:4px solid #D4AF37; margin-bottom:10px; color:#fff; }

/* ===============================
   HERO SECTIONS
================================ */
.hero {
    position: relative;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===============================
   SECTIONS
================================ */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* ===============================
   MENU
================================ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.menu-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.menu-card h3 {
    margin-bottom: 8px;
}

.menu-price {
    font-weight: bold;
    margin: 10px 0;
}

/* ===============================
   GALLERY
================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* ===============================
   ABOUT
================================ */
.about-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.about-flex img {
    width: 320px;
    border-radius: 14px;
}

/* ===============================
   CONTACT
================================ */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    text-align: center;
}

.social-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.social-card a {
    text-decoration: none;
    color: inherit;
}

/* ===============================
   GALLERY MODAL
================================ */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gallery-modal-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 15px;
}

.gallery-prev { left: 30px; }
.gallery-next { right: 30px; }

/*============================================================*/
:root {
  --black: #0b0b0b;
  --gold: #d4af37;
  --white: #ffffff;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

h1, h2, h3 {
  color: var(--gold);
}

.section {
  padding: 80px 8%;
}

.hero {
  position: relative;
  min-height: 110vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}

.btn-primary {
  background: var(--black);
  color: var(--gold);
}

.btn-primary:hover{
    background: var(--gold);
  color: var(--black);
}

.btn-outline {
  color: var(--gold);
}

.view-more-button {
	background-color: #fefefe;
	font-size: 2rem;
	background-color: transparent;
	color: #D4AF37;
	font-weight: 600;
	border: 7px solid #D4AF37;
	margin: 30px;
	padding: 9px 9px;
	border-radius: 0 10px 0 10px;
	cursor: pointer;
	position: relative;
	transition: .6s !important;
	overflow: hidden !important;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	transition: all .3s linear;
	display: inline-block;
	border-width: 8px;
	border-style: solid;
  }
  
  .view-more-button::after{
	position: absolute;
	content: "";
	top: -100%;
	left: 0%;
	background-color: #D4AF37;
	height: 100%;
	width: 100%;
	transition: .5s;
  }
  .view-more-button:hover::after{
	top: 100%;
	
  }
  .view-more-button:hover {
	border-radius: 18px 0 18px 0;
	box-shadow: 5px 5px 0 white;
  }
/*===========================================*/
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.card {
  background: #161616;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
  text-align: center;
  transition: transform .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 12px 25px #D4AF37;
}

.card h2 {
    color: #d4af37;
    font-size: 36px;
}

.card p {
    margin-top: 6px;
    color: #aaa;
}

/*=================================================*/
.icon-circle {
  width: 70px;
  height: 70px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

form input, form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
}

form button {
  background: var(--gold);
  color: var(--black);
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

/* ===============================
   NAV LINK UNDERLINE EFFECT
================================ */

.holo-link {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  margin: 0 8px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* text layer */
.holo-link span {
  position: relative;
  z-index: 2;
}

/* top and bottom underline */
.holo-link::before,
.holo-link::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

/* top line */
.holo-link::before {
  top: 0;
  transform-origin: left;
}

/* bottom line */
.holo-link::after {
  bottom: 0;
  transform-origin: right;
}

/* hover animation */
.holo-link:hover::before,
.holo-link:hover::after {
  transform: scaleX(1);
}

/* optional holographic glow */
.holo-link:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 10px rgba(212,175,55,0.45),
    0 0 20px rgba(0,255,255,0.3);
  color: #fff;
}

/* active page highlight */
.holo-link.active {
  color: var(--gold);
}
.holo-link.active::before,
.holo-link.active::after {
  transform: scaleX(1);
}

/* Keep nav links in one horizontal line */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ===============================
   NAV DROPDOWN (FIXED)
================================ */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #111;
  border-radius: 10px;
  padding: 6px 0;
  min-width: 140px;
  display: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.55);
  z-index: 999;
}

/* keep dropdown visible when hovering ANY part */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: rgba(212,175,55,0.15);
}

/* ===============================
   GLOBAL RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   MOBILE NAV
================================ */
.nav-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
        flex-direction: column;
        background: var(--dark);
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-toggle {
        display: block;
    }
}

/* ===============================
   CONTACT SECTION
================================ */
.section a {
    color: var(--gold);
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

/* ===============================
   FOOTER (optional)
================================ */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* ===============================
   MOBILE NAV FIX
================================ */
@media (max-width: 900px) {

    .main-nav {
        display: none;
        flex-direction: column;
        background: var(--dark);
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        padding: 20px;
        z-index: 999;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* ===============================
   TESTIMONIALS
================================ */
.testimonials {
    background: #0b0b0b;
    border-top: 1px solid rgba(212,175,55,0.08);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #111;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(212,175,55,0.35);
}

.stars {
    color: #D4AF37;
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 18px;
}

.testimonial-card h4 {
    color: #D4AF37;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}